-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergey Sinica
committed
Jul 21, 2015
1 parent
6671619
commit 61e0c4c
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
How to release | ||
=============================================== | ||
|
||
* Write a [release notes](/docs/release-notes.md) and commit whem to master branch. | ||
|
||
* Tag `master` branch with release information: | ||
|
||
``` | ||
git tag -a -m "Release 2.0.0" v2.0.0 | ||
``` | ||
* Push tag to remote repository: | ||
``` | ||
git push origin master --tags | ||
``` | ||
* Checkout a tag: | ||
``` | ||
git checkout tags/v2.0.0 | ||
``` | ||
* Update project version to `2.0.0` | ||
``` | ||
mvn versions:set -DnewVersion=2.0.0 | ||
``` | ||
* Build project | ||
``` | ||
mvn clean install | ||
``` | ||
* Create a release from a tag `v2.0.0` in GitHub. Write release notes. Attach an artifact. | ||
* Upload artifact to Bintray. | ||
* Revert project version to snapshot | ||
``` | ||
mvn versions:set -DnewVersion=0.0.1-SNAPSHOT | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Release notes | ||
|
||
## Release 1.0.0 [21.07.2015] | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters