Skip to content

Releasing

Christian Stein edited this page Aug 8, 2022 · 8 revisions

This project uses the trunk based development branching model on its main branch.

Releases are performed by creating tags like v1.0.9 on the main branch. Available tags are listed here: https://github.com/oracle-actions/setup-java/tags

Branch v1 is used to point to latest tag starting with v1, for example v1.0.9.

This model follows the versioning guidance for authoring and consuming actions.

Release vX.Y.Z

  • Document notable changes in CHANGELOG.md
  • Create tag vX.Y.Z on the main branch.

Move v1 to HEAD

  • Go to https://github.com/oracle-actions/setup-java/compare/v1...main
  • Should read like: ✅ Able to merge. These branches can be automatically merged.
  • Click on "Create pull request".
  • Use Move v1 to HEAD as the PR title.
  • Verify it is fast-forward
  • Should read like: User wants to merge N commits into v1 from main
  • Merge pull request: Create a merge commit
  • Confirm merge
Clone this wiki locally