axion-release-plugin

Gradle release & version management plugin.

APACHE-2.0 License

Stars
558
Committers
84

Bot releases are hidden (Show)

axion-release-plugin - v1.18.9

Published by bgalek 26 days ago

What's Changed

Changed

New Contributors

Dependency updates

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.8...v1.18.9

axion-release-plugin - v1.18.8

Published by bgalek about 1 month ago

What's Changed

Changed

When using releaseOnlyOnReleaseBranches verifyRelease tasks were not skipped.
From now, gradle release task and it's dependants will be skipped if releaseOnlyOnReleaseBranches is active and the plugin decides to skip the release.

Dependency updates

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.7...v1.18.8

axion-release-plugin - v1.18.7

Published by bgalek about 2 months ago

What's Changed

Bugfix

With releaseOnlyOnReleaseBranches property set,
when a release is skipped, GITHUB_OUTPUT is not written anymore.

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.6...v1.18.7

axion-release-plugin - v1.18.6

Published by bgalek about 2 months ago

What's Changed

Changed

🎉 Achieving a workflow with one-liner gradle step: ./gradew build release publish is now possible!

Setting releaseOnlyOnReleaseBranches option

scmVersion {
    releaseOnlyOnReleaseBranches = true
}

Will make release task no-operation, if run on feature branches (not main/master).

You can further customize release branch name list, using releaseBranchNames property:

scmVersion {
    releaseOnlyOnReleaseBranches = true
    releaseBranchNames = ['main', 'master']
}

Based on users feedback it may be set to default in future releases :)

Dependency updates

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.5...v1.18.6

axion-release-plugin - v1.18.5 Latest Release

Published by radoslaw-panuszewski 2 months ago

What's Changed

Changed

Introducing fallbackPrefixes that can be used to migrate from one tag prefix to another.

Usage:

scmVersion {
    tag {
        prefix.set("new-prefix-")
        fallbackPrefixes.set(listOf("old-prefix-"))
    }
}

Implement support for fallback tag prefixes by @radoslaw-panuszewski in https://github.com/allegro/axion-release-plugin/pull/793

Dependency updates

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.4...v1.18.5

axion-release-plugin - v1.18.4

Published by bgalek 2 months ago

What's Changed

Changed

We continue streamlining GitHub Workflows (and CI runtimes in general).

This release is introducing unshallowRepoOnCI incubating option,
that will unshallow the git repository, so the axion-release-plugin can successfully read tags history despite your CI clone strategy.

Usage:

scmVersion {
    unshallowRepoOnCI.set(true)
}

Now, you can simplify your GitHub Actions config:

steps:
  - uses: actions/checkout@v4
-   with:
-     fetch-depth: 0

After more testing with other CI pipelines, this option will probably be enabled by default.

Dependency updates

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.3...v1.18.4

axion-release-plugin - v1.18.3

Published by bgalek 3 months ago

What's Changed

Dependencies

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.2...v1.18.3

axion-release-plugin - v1.18.2

Published by bgalek 3 months ago

What's Changed

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.1...v1.18.2

axion-release-plugin - v1.18.1

Published by bgalek 3 months ago

What's Changed

Dependencies

New Contributors

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.18.0...v1.18.1

axion-release-plugin - v1.18.0

Published by bgalek 4 months ago

What's Changed

https://github.com/allegro/axion-release-plugin/pull/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

New Contributors

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.17.2...v1.18.0

axion-release-plugin - v1.17.2

Published by bgalek 6 months ago

What's Changed

Dependencies

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.17.1...v1.17.2

axion-release-plugin - v1.17.1

Published by bgalek 6 months ago

What's Changed

Introducing overridenIsClean flag.

New Contributors

Dependabot

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.17.0...v1.17.1

axion-release-plugin - v1.17.0

Published by bgalek 8 months ago

Breaking change

axion-release-plugin now requires a minimum Gardle 7

What's Changed

This release drops Gradle 6 support since it was a blocker to allow this plugin to handle the newer encryptions for SSH like elliptic curves and other recent cipher suites.
From now on, many connection issues should be resolved thank you @mc1arke!

New Contributors

Dependencies

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.16.1...v1.17.0

axion-release-plugin - v1.14.5

Published by bgalek 8 months ago

What's Changed

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.14.4...v1.14.5

axion-release-plugin - v1.16.1

Published by bgalek 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.16.0...v1.16.1

axion-release-plugin - v1.16.0

Published by bgalek 11 months ago

Major release

To fix gradle configuration cache problems @SmialyKot changed the default SystemReader behavior - and from now on, we won't use system config by default. We tested it in multiple cases and should mostly work, but this can break things, so please file an issue if this occurs.

What's Changed

Dependencies:

New Contributors

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.15.5...v1.16.0

axion-release-plugin - v1.15.5

Published by bgalek about 1 year ago

What's Changed

Dependabot

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.15.4...v1.15.5

axion-release-plugin - v1.15.4

Published by bgalek about 1 year ago

Breaking change

@ralfhergert pointed out that this release is breaking one of the API's.
Sorry for that mistake - this should be reflected in semver versioning.

scmVersion.repository.directory now accepts String instead of File.

If you're getting Cannot set the value of property 'directory' of type java.lang.String using an instance of type java.io.File. remember to update your directory plugin property.

i.e. directory.set(project.rootProject.absolutePath)

What's Changed

New Contributors

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.15.3...v1.15.4

axion-release-plugin - v1.15.3

Published by bgalek over 1 year ago

What's Changed

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.15.2...v1.15.3

axion-release-plugin - v1.15.2

Published by bgalek over 1 year ago

What's Changed

Full Changelog: https://github.com/allegro/axion-release-plugin/compare/v1.15.1...v1.15.2

Package Rankings
Top 14.17% on Repo1.maven.org
Badges
Extracted from project README
Related Projects