This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Restructure custom wooga version strategies To prepare for a new default setup I moved the version strategies to `src/main/groovy/wooga/gradle/release/version/semver/VersionStrategies` The old `src/main/groovy/wooga/gradle/release/utils/WoogaStrategies` stays in the project and links its static definitions to `VersionStrategies` * Add new second versioning scheme based on semver2.x `src/main/groovy/wooga/gradle/release/version/semver2/VersionStrategies` contains adjusted version strategies for semver2.x based version. The project can switch to these strategies by setting the `version.scheme` property to 'semver2'. Add test specs for new scheme * Add groovy doc strings for new VersionStrategy configs * Fix snapshot strategy definition * use common name instead of `ci` * set `allowDirtyRepo` flag to true so strategy can be applied during development * Add branch name exception for develop branch To accommodate gitflow setups the `develop` branch shouldn't produce versions with a `branch.` prefix.
- Loading branch information
Showing
5 changed files
with
763 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.