gdp is a CLI tool for pushing the tag associated with deployment and publishing the release note in GitHub.
$ brew tap Connehito/gdp
$ brew install gdp
$ go install github.com/Connehito/gdp@latest
Add the tag to local repository and push the tag to remote(origin) repository.
# specify tag
$ gdp deploy -t TAG
# dry-run
$ gdp deploy -t TAG -d
# force(skipped validation)
$ gdp deploy -t TAG -f
# set tag automatically
$ gdp deploy
Create the release note in GitHub which based on the merge commits of the tag.
# specify tag
$ gdp publish -t TAG
# dry-run
$ gdp publish -t TAG -d
# force(skipped validation)
$ gdp publish -t TAG -f
# set tag automatically
$ gdp publish
- semantic version: e.g. v1.2.3 or 1.2.3
- date version: e.g. 20180525.1 or release_20180525
Release note content is generated based on merge commit messages.
So, depending on your branch strategy, it may not be the intended result.
When gdp succeeds, the following message is printed.
Do not be satisfied with 'released', let's face user's feedback in sincerity!
This is the watchword of Connehito's developers.
Bug reports and pull requests are welcome on GitHub at https://github.com/Connehito/gdp.
gdp is available as open source under the terms of the MIT License.