From now on, on GitHub Workflows, you don't need to check out ref for axion-release-plugin to know what branch your build is being run on—it will be read from the GitHub workflow environment variable (GITHUB_HEAD_REF).
This release addresses a common issue with code collaboration using this plugin, particularly when multiple feature branches are being developed simultaneously from the same HEAD.
Problem
Until now, the plugin used a SIMPLE version creator by default, which did not decorate version in any way.
This default setting led to the following issues:
Both feature branches would generate the same version (e.g., v0.0.1-SNAPSHOT).
During publication, this resulted in overridden snapshots, as Maven allows overwriting SNAPSHOT versions.
Solution
... (truncated)
Commits
a7ca32f Fix for GITHUB_HEAD_REF having empty value (#779)
24edffa Bump mkdocs-material from 9.5.28 to 9.5.29 (#778)
378cda3 Read ref from GITHUB_HEAD_REF env variable if it's present (#776)
7fd4882 Bump pl.allegro.tech.build.axion-release from 1.17.2 to 1.18.0 (#773)
cab5912 Bump mkdocs-material from 9.5.27 to 9.5.28 (#774)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pl.allegro.tech.build.axion-release from 1.17.2 to 1.18.2.
Release notes
Sourced from pl.allegro.tech.build.axion-release's releases.
... (truncated)
Commits
a7ca32f
Fix for GITHUB_HEAD_REF having empty value (#779)24edffa
Bump mkdocs-material from 9.5.28 to 9.5.29 (#778)378cda3
Read ref from GITHUB_HEAD_REF env variable if it's present (#776)7fd4882
Bump pl.allegro.tech.build.axion-release from 1.17.2 to 1.18.0 (#773)cab5912
Bump mkdocs-material from 9.5.27 to 9.5.28 (#774)b7b634a
Update README.mdc4b95c7
set "VERSION_WITH_BRANCH" versionCreator as default (#772)7f17bfc
Bump jgitVersion from 6.9.0.202403050737-r to 6.10.0.202406032230-r (#768)decd534
Bump com.github.mwiede:jsch from 0.2.17 to 0.2.18 (#766)dd5c68a
Bump org.apache.sshd:sshd-core from 2.12.1 to 2.13.1 (#770)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show