GitHub: https://github.com/bitrise-tools/releaseman
From the README:
What this tool does:
- Generates changelog
releaseman create-changelog
- Release new version
releaseman create-release
- Generates changelog and release new version
releaseman create
What this tool doesn’t do:
- Does not push into your git repository, so you can roll back all the changes
Gettings Started
Install
If you’re a Go developer / if you have a GOPATH
prepared and GOPATH/bin
in your PATH
:
go get -u github.com/bitrise-tools/releaseman
Otherwise:
- Download the latest release from https://github.com/bitrise-tools/releaseman/releases
- Save it into a directory which is in your
PATH
(e.g./usr/local/bin
) chmod +x /path/to/releaseman
- Test that you can run
releaseman
with:releaseman --version
Init
To initialize releaseman
for your project:
- In your Terminal / Command Line
cd
into your project’s directory - Run:
releaseman init
and follow the guide - Once you finish with the init you can tweak your
release_config.yml
(generated byreleaseman init
),
and when you’re happy with itgit commit
it into your repository
Create a release
Once you have your release_config.yml
in your repository, creating a release is as simple as:
-
releaseman create
for an automatic version bump- or
releaseman create --bump-version="minor"
to bump the “minor” version number - or
releaseman create --version X.X.X
to create the versionX.X.X
- or
- (optional) check if everything’s OK / looks good, and if it does …
git push
-
git push origin : the.tag.version
e.g.git push origin : 1.0.1
That’s all, you just released a new version, with an auto created CHANGELOG!