Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe how to release new version. #223

Merged
merged 1 commit into from
Apr 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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))