Follow these steps to release a new <version>
of Lincheck.
-
Checkout
develop
branch:
git checkout develop
-
Retrieve the most recent
develop
:
git pull
-
Make sure the
master
branch is fully merged intodevelop
:
git merge origin/master
-
Replace
<old-version>
with<version>
:- in gradle.properties
- in docs/v.list
- in README.md
-
Commit the updated
gradle.properties
:
git add gradle.properties README.md docs/v.list
git commit -m "Release lincheck-<version>"
-
Create a tag related to the releasing
<version>
:
git tag lincheck-<version>
-
Push the release commit and the tag:
git push
git push origin lincheck-<version>
-
Merge the new version into
master
:
git checkout master
git merge develop
git push
-
Make sure that the
master
branch build is green on Teamcity -
Press 'deploy' button in the Teamcity publish configuration. Set
releaseVersion
property to<version>
in the pop-up window. Make sure that the build succeeds. -
In Sonatype admin interface, close the automatically created staging repository and release it.
-
In GitHub interface:
- Create a release named
lincheck-<version>
. - Write a release notes message following the old ones as example of style.
- Create a release named
-
Switch into
develop
branch back:
git checkout develop
-
Update the version to the next
SNAPSHOT
one ingradle.properties
. -
Commit and push the updated
gradle.properties
:
git add gradle.properties
git commit -m "Prepare for next development iteration"
git push
Congratulation! You've just released a new Lincheck version!