cloud-janitors-figure
released this
16 Oct 19:25
·
3 commits
to main
since this release
Documentation
Detailed documentation of the plugin can be viewed at https://figuretechnologies.github.io/gradle-semver-plugin.
Important
Is is recommended to use v2.0.1
over v2.0.0
due to a critical bug fix for GitHub Actions.
Breaking changes since v1
- Plugin
id
changed fromcom.figure.gradle.semver-plugin
to justcom.figure.gradle.semver
- The version and version tag output have been moved from
build/semver/version.txt
tobuild/semver/semver.properties
- Removed all tasks
currentSemver
- just invoke./gradlew
on its own to see the versiongenerateVersionFile
- done automatically nowcreateAndPushVersionTag
- use other methods to create and push version tags
v1 Problems Addressed
- Inability to build without initializing git repository
- Inability to build when merging, rebasing, reverting, bisecting, cherry-picking, and being in detached head state
- Incorrect version calculation in some scenarios (this may have happened when remote branch was deleted but building on local branch)
- Inability to set alternate initial version (the option was there but it didn't work)
- Inability to build without an initial tag
Features Added Since v1
- Support for stages (
rc
,beta
,stable
,SNAPSHOT
, etc.) - Support for specifying alternate development and main branch names
- Branching strategy inference
- Support for building with build metadata (appends current date and time to the version)
- Zero config support (in most cases, there's no need to do anything but apply the plugin)
- Complete documentation to explain how to use the included and optional gradle properties
What's Changed
📦 Dependency Updates
- chore(deps): update dependency com.autonomousapps.dependency-analysis from
2.0.2
to2.1.0
by @figure-renovate in #154
🐛 Bug Fixes
- fix: use HEAD ref for current ref by @tcrawford-figure in #159
- fix: address NPE when building in GHA by @tcrawford-figure in #160
- fix: currentRef resolution in GitHub Actions by @tcrawford-figure in #161
Full Changelog: v2.0.0...v2.0.1