Added semver command line option.
This commit is contained in:
parent
b9ead8272e
commit
9d996cccac
1 changed files with 8 additions and 0 deletions
|
@ -121,6 +121,14 @@ version.buildmeta=beta
|
|||
version.semver=1.0.0-beta
|
||||
```
|
||||
|
||||
The full semantic version can also be specified via the `semver` property:
|
||||
|
||||
```ini
|
||||
./gradlew -Dversion.semver=1.0.0-beta ...
|
||||
```
|
||||
|
||||
If a version cannot be parsed your build will **fail**.
|
||||
|
||||
## Configuration
|
||||
|
||||
### Version File Properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue