Git Release
This program can set the release information based on all commits of a tag. To see the example visit Releases page.
This is a clone of the gitrelease project written in Rust.
Requirements
Uses your github token with permission scope: repo
Installation
To install:
Export your github token:
export GITHUB_TOKEN="ghp_yourgithubtoken"
Assuming the binary path is in the your PATH
, git
automatically picks this
up as a subcommand.
Usage
After you've made a tag, you can print the current release documents by just running:
To release you should provide -p
flag:
If you want to release an old tag:
You can also provide a range:
Note that in this case the release will be v0.2.0
.
If you want to use a different remote other than the origin
:
License
Licensed under the MIT License. Check the LICENSE file for details.