v2.0.0
cloud-janitors-figure
released this
26 Sep 12:32
·
14 commits
to main
since this release
Documentation
Detailed documentation of the plugin can be viewed at https://figuretechnologies.github.io/gradle-semver-plugin
Breaking changes
- 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
- 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
Full Changelog: v1.10.0...v2.0.0