The release-request
is a cli tool for Pull Request driven deployment.
The release-request
is the Pull Request creator on GitHub.
This tool work in like git-flow branch style.
Ex.
master
: production branchdevelop
: pool features, patches...pending to deploymenttopic/*
andfeature/*
and etc...: working branches
When you want to deploying to production, You create pull request from develop
to master
. The release-request
is aggregates information of merged working branches and pending branches. You can specify writing that information to description of Pull Request.
Also release-request
can write work introductions for deployment to the Pull Request.
#3 generated by release-request
.
- Go 1.8.x or higher
- GitHub's access token. See Creating a personal access token for the command line
$ go get -u github.com/mackee/release-request
Run release-request
in directory with-in configration files.
$ release-request
release-request
is requirement two configuration file that config.yml
and release.md
. You can rename this files by configuration and cli option.
release-requeste -init
generate scaffolding.
$ release-request -init
$ ls
config.yml release.md
You should be set GitHub access token to config.yml
.
# in config.yml
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
You can set log level by -loglevel=LEVEL
. Ex. DEBUG
, WARN
, ERROR
. Default output is WARN
and ERROR
.
If you set -loglevel=DEBUG
, output the command outputs, Pull Request description and titles.
-dry-run
options is render descriptions and titles but not create/update Pull Request.