Skip to content

Commit

Permalink
Changed to CI friendly Maven versioning (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
freemanjp authored Feb 8, 2020
1 parent 4cb3e1c commit 6bed249
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

set -e

./mvnw install --batch-mode --show-version
./mvnw install \
"-Drevision=${TRAVIS_TAG:-development-SNAPSHOT}" \
--batch-mode \
--show-version
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<groupId>com.github.gantsign.maven.doxia</groupId>
<artifactId>doxia-sink-api-ktx</artifactId>
<version>0.7.15-SNAPSHOT</version>
<version>${revision}</version>

<name>Kotlin Extensions for Doxia</name>
<description>A kotlin DSL for outputting documentation using Doxia.</description>
Expand Down

0 comments on commit 6bed249

Please sign in to comment.