diff --git a/README.md b/README.md index 5de4ef0..2ff43ab 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,14 @@ Version: 1.0.16-beta+002 - __Examples__: [Java](https://github.com/ethauvin/semver-gradle/tree/master/examples/java), [Kotlin](https://github.com/ethauvin/semver-gradle/tree/master/examples/kotlin) +## Command Line + +The `major`, `minor`, `patch`, `prerelease` and `buildmeta` versions can also be set via the command line: + +```bash +./gradlew -Dversion.prerelease=beta ... +``` + ## Configuration ### Version File Properties