Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 2.17 KB

RELEASE.md

File metadata and controls

55 lines (39 loc) · 2.17 KB

Lincheck release checklist

Follow these steps to release a new <version> of Lincheck.

  1. Checkout develop branch:
    git checkout develop

  2. Retrieve the most recent develop:
    git pull

  3. Make sure the master branch is fully merged into develop:
    git merge origin/master

  4. Replace <old-version> with <version>:

  5. Commit the updated gradle.properties:
    git add gradle.properties README.md docs/v.list
    git commit -m "Release lincheck-<version>"

  6. Create a tag related to the releasing <version>:
    git tag lincheck-<version>

  7. Push the release commit and the tag:
    git push
    git push origin lincheck-<version>

  8. Merge the new version into master:
    git checkout master
    git merge develop
    git push

  9. Make sure that the master branch build is green on Teamcity

  10. Press 'deploy' button in the Teamcity publish configuration. Set releaseVersion property to <version> in the pop-up window. Make sure that the build succeeds.

  11. In Sonatype admin interface, close the automatically created staging repository and release it.

  12. In GitHub interface:

    • Create a release named lincheck-<version>.
    • Write a release notes message following the old ones as example of style.
  13. Switch into develop branch back:
    git checkout develop

  14. Update the version to the next SNAPSHOT one in gradle.properties.

  15. 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!