gdp is a CLI tool for pushing the tag associated with deployment and publishing the release note in GitHub.
Switch branches/tags
Clone or download
Latest commit 7c7bdaa Sep 1, 2018

README.md

gdp

gdp is a CLI tool for pushing the tag associated with deployment and publishing the release note in GitHub.

Build Status Go Report Card GoDoc Latest Version License

Requirements

Installation

Via Homebrew

$ brew tap Connehito/gdp
$ brew install gdp

Via go get

$ go get -u github.com/Connehito/gdp

Usage

Deploy

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

Publish

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

# set tag automatically
$ gdp publish

Specification

Supported tag's format

How to create generate note

Release note content is generated based on merge commit messages.

So, depending on your branch strategy, it may not be the intended result.

What is last printed message?

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Connehito/gdp.

License

gdp is available as open source under the terms of the MIT License.