2020-02-26 16:54:16 +01:00
|
|
|
# drone-cli
|
|
|
|
|
|
|
|
Command line client for the Drone continuous integration server.
|
|
|
|
|
2021-10-27 16:01:26 +02:00
|
|
|
Documentation: https://docs.drone.io/cli
|
2020-02-26 16:54:16 +01:00
|
|
|
|
2021-10-27 16:01:26 +02:00
|
|
|
Technical Support: https://discourse.drone.io
|
2020-02-26 16:54:16 +01:00
|
|
|
|
2021-10-27 16:01:26 +02:00
|
|
|
Bug Tracker: https://discourse.drone.io/c/bugs
|
2021-08-20 12:48:00 +02:00
|
|
|
|
|
|
|
## Release procedure
|
|
|
|
|
|
|
|
Run the changelog generator.
|
|
|
|
|
|
|
|
```BASH
|
|
|
|
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone-cli -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`. **
|
|
|
|
|
|
|
|
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 -p drone-cli -t <secret token> --future-release v1.0.0
|
|
|
|
```
|
|
|
|
|
|
|
|
Create your pull request for the release. Get it merged then tag the release.
|