Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pl.allegro.tech.build.axion-release from 1.17.2 to 1.18.0 #57

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Bumps pl.allegro.tech.build.axion-release from 1.17.2 to 1.18.0.

Release notes

Sourced from pl.allegro.tech.build.axion-release's releases.

v1.18.0

What's Changed

allegro/axion-release-plugin#772

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

This release changes the default versionCreator to VERSION_WITH_BRANCH.

The new behavior includes:

  • Appending the branch name to the version (e.g., v0.0.1-my-branch-name-SNAPSHOT).
  • Falling back to the SIMPLE version creator for detached HEAD checkouts, maintaining the old behavior in such cases.

Breaking change

  • Versions will now include the branch name, preventing the override of snapshots across different branches.

Migration Guide

To continue using the SIMPLE version creator, update your plugin configuration as follows:

scmVersion {
    versionCreator('simple')
}

Additional changes

Dependencies

... (truncated)

Commits
  • c4b95c7 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)
  • 52aa71c Bump mkdocs-material from 9.5.25 to 9.5.27 (#769)
  • eb9abb2 Bump org.apache.sshd:sshd-git from 2.12.1 to 2.13.1 (#771)
  • e033e51 Bump pl.allegro.tech.build.axion-release from 1.17.1 to 1.17.2 (#752)
  • fa41825 Bump org.objenesis:objenesis from 3.3 to 3.4 (#753)
  • 17fee15 Bump mkdocs-material from 9.5.20 to 9.5.25 (#763)
  • 9a57e17 Use forUseAtConfigurationTime only for lower Gradle versions (#765)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/allegro/axion-release-plugin) from 1.17.2 to 1.18.0.
- [Release notes](https://github.com/allegro/axion-release-plugin/releases)
- [Commits](allegro/axion-release-plugin@v1.17.2...v1.18.0)

---
updated-dependencies:
- dependency-name: pl.allegro.tech.build.axion-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 8, 2024
@github-actions github-actions bot merged commit 4f9adf9 into main Jul 8, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/pl.allegro.tech.build.axion-release-1.18.0 branch July 8, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants