Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.59 KB

RELEASE.md

File metadata and controls

40 lines (28 loc) · 1.59 KB

Create release

To create a new release, set git tag with new version number and push the tag. The Github Actions release.yml will build and release to Github actions and Maven Central.

Make sure that all commits have been pushed and build with build.yml workflow before setting and pushing the tag.

Steps:

  • create release notes in CHANGELOG.md, update ..master to ..x.y.z; and update README.md
  • commit both
  • git tag x.y.z
  • git push --tags

The release workflow will be triggered, using the git tag for -Drevision=<tag>.

  • manually release staging repo in Sonatype for Maven Central
  • manually change Github actions release from draft to final and limit the changelog here: releases

Next prepare for next SNAPSHOT:

  • change revision property in x.y.z+1-SNAPSHOT in parent pom
  • prepare CHANGELOG.md for x.y.z+1-SNAPSHOT
  • commit and push with comment "Prepare release x.y.z+1-SNAPSHOT"

When release fails before "release staging in Sonatype"

  • drop staging repo
  • git tag -d x.y.z or delete tag in IntelliJ
  • git push origin :refs/tags/x.y.z or delete tag in context menu, delete remotes
  • fix-commit-push and start release again with tagging steps above

In GitHub:

  • close milestone x.y.z
  • create new milestone x.y.z+1

To marketplace: