mirror of
https://github.com/drone/drone-cli.git
synced 2025-10-26 19:40:45 +01:00
Command Line Tools for Drone CI
https://docs.drone.io/cli
| .github | ||
| drone | ||
| .drone.sh | ||
| .drone.yml | ||
| .github_changelog_generator | ||
| .gitignore | ||
| BUILDING | ||
| CHANGELOG.md | ||
| Dockerfile | ||
| Dockerfile.alpine | ||
| Dockerfile.linux.arm | ||
| Dockerfile.linux.arm64 | ||
| Dockerfile.linux.ppc64le | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
drone-cli
Command line client for the Drone continuous integration server.
Documentation: https://docs.drone.io/cli
Technical Support: https://discourse.drone.io
Bug Tracker: https://discourse.drone.io/c/bugs
Release procedure
Run the changelog generator.
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.
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.