From 9d996cccac25826f7c86b249fa540a8910d6b423 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 14 Apr 2019 00:34:44 -0700 Subject: [PATCH] Added semver command line option. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9e18172..d8611ac 100644 --- a/README.md +++ b/README.md @@ -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