diff --git a/.travis/deploy.sh b/.travis/deploy.sh index 3832b05..43bf943 100755 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -15,5 +15,6 @@ gpg --fast-import .travis/codesigning.asc --settings .travis/settings.xml \ -P publish-artifacts,sign-artifacts,ossrh-deploy \ -DskipTests \ + "-Drevision=${TRAVIS_TAG:-development-SNAPSHOT}" \ --batch-mode \ --show-version diff --git a/.travis/test.sh b/.travis/test.sh index a925b21..6ff9790 100755 --- a/.travis/test.sh +++ b/.travis/test.sh @@ -2,4 +2,7 @@ set -e -./mvnw install --batch-mode --show-version +./mvnw install \ + "-Drevision=${TRAVIS_TAG:-development-SNAPSHOT}" \ + --batch-mode \ + --show-version diff --git a/pom.xml b/pom.xml index ad4f185..ccb6ace 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ com.github.gantsign.maven.doxia doxia-sink-api-ktx - 0.7.15-SNAPSHOT + ${revision} Kotlin Extensions for Doxia A kotlin DSL for outputting documentation using Doxia.