-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from rundeck-plugins/enh/axion
Add axion release gradle plugin to set version
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Release | ||
|
||
Uses [axion release](https://axion-release-plugin.readthedocs.io/en/latest/) plugin. | ||
|
||
./gradlew release | ||
|
||
If you need to release with a SNAPSHOT dependency: | ||
|
||
./gradlew release -Prelease.disableChecks | ||
|
||
Otherwise, axion-release will fail the prerelease check. Only do this for testing. | ||
|
||
## Next minor version | ||
|
||
./gradlew markNextVersion -Prelease.incrementer=incrementMinor | ||
|
||
Updates minor version without releasing, e.g. 0.1.x-SNAPSHOT becomes 0.2.0-SNAPSHOT | ||
|
||
## Force version | ||
|
||
./gradlew release -Prelease.forceVersion=3.0.0 |
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