Skip to content

Commit 908e456

Browse files
committed
Fix build script
1 parent 895bc6b commit 908e456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ before_install:
1414
- 'nvm install ${NODE_VERSION} && nvm use ${NODE_VERSION}'
1515
- 'npm install -g yarn'
1616

17-
script: ./mvnw clean verify ${TRAVIS_TAG+-Drevision=${TRAVIS_TAG}}
17+
script: ./mvnw clean verify ${TRAVIS_TAG:+-Drevision=${TRAVIS_TAG}}
1818

1919
after_success:
2020
- ./mvnw jacoco:report coveralls:report
2121
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./mvnw deploy -DreposityId=sonatype-nexus-snapshots -DskipTests --settings deploy-settings.xml"
22-
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} != '' ]] && ./mvnw deploy -DreposityId=sonatype-nexus-staging -DskipTests --settings deploy-settings.xml"
22+
- "[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_TAG} != '' ]] && ./mvnw deploy -DreposityId=sonatype-nexus-staging -DskipTests -Drevision=${TRAVIS_TAG} --settings deploy-settings.xml"

0 commit comments

Comments
 (0)