release prep for v1.8.0

This commit is contained in:
Eoin McAfee
2021-11-18 11:42:06 +00:00
parent 28160e11b8
commit 40233438ee
2 changed files with 32 additions and 1 deletions

View File

@@ -10,3 +10,25 @@ https://discourse.drone.io
Issue Tracker and Roadmap:<br/>
https://trello.com/b/ttae5E5o/drone
## Release procedure
Run the changelog generator.
```BASH
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone-runners -p drone-runner-docker -t <secret github token>
```
You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens.
Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label.
**Before moving on make sure to update the version file `version/version.go && version/version_test.go`.**
Run the changelog generator again with the future version according to semver.
```BASH
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone-runners -p drone-runner-docker -t <secret token> --future-release v1.0.0
```
Create your pull request for the release. Get it merged then tag the release.