Skip to content

Commit

Permalink
Describe how to release new version.
Browse files Browse the repository at this point in the history
Refs: #221
  • Loading branch information
janisz committed Apr 7, 2017
1 parent 888b8e9 commit bb7b4fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,5 @@ version: deps
goxc -wc -pv=$(v)
git add .goxc.json
git commit -m "Release $(v)"
git tag $(v)

.PHONY: all bump build release deb
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,21 @@ The following section describes known limitations in `marathon-consul`.
Later on, if another deployment takes place, new services are registered with a new name, the old ones are not being deregistered though.
A scheduled sync is required to wipe them out.

## Release

To release new version of marathon-consul follow steps:

1. Commit all changes you need for release to master branch.
2. `git checkout master`
4. `git checkout -b release/<version>` e.g., `git checkout -b release/1.3.1`
5. `make version v=<version>` e.g., `make version v=1.3.1`
6. `git push`
7. Create pull request from branch `release/<version>` to master.
8. Once pull request gets merged put tag on this commit (remember to update your master with `git pull`)
`git tag <version> -f` e.g., `git tag 1.3.1 -f`. Create annotated tag with release notes in it.
9. Travis will automatically prepare github release from tag on master. Go there and update release notes.
10. Copy github release to bintray.

## License

Marathon-consul is released under the Apache 2.0 license (see [LICENSE](LICENSE))

0 comments on commit bb7b4fa

Please sign in to comment.