Skip to content

Commit 21bb0b9

Browse files
skip pushing changes since travis wont have access (#34)
1 parent 06de9cd commit 21bb0b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/bash -ex
22
cd `dirname $0`/..
33

44
echo TRAVIS_BRANCH=$TRAVIS_BRANCH
@@ -18,6 +18,6 @@ fi
1818
echo "travis tag is set -> updating pom.xml <version> attribute to $TRAVIS_TAG"
1919
./mvnw --batch-mode release:update-versions -DdevelopmentVersion=$TRAVIS_TAG-SNAPSHOT
2020
git checkout -b release-$TRAVIS_TAG
21-
./mvnw --batch-mode --settings .travis/settings.xml --no-snapshot-updates -Prelease -DskipTests=true -DreleaseVersion=$TRAVIS_TAG -DcheckModificationExcludeList=pom.xml release:prepare
22-
./mvnw --batch-mode --settings .travis/settings.xml -Prelease clean deploy -DskipTests=true -B -U
21+
./mvnw --batch-mode --settings .travis/settings.xml --no-snapshot-updates -Prelease -DpushChanges=false -DskipTests=true -DreleaseVersion=$TRAVIS_TAG -DcheckModificationExcludeList=pom.xml release:prepare
22+
./mvnw --batch-mode --settings .travis/settings.xml -Prelease clean deploy -DpushChanges=false -DskipTests=true -B -U
2323
echo "successfully deployed the jars to nexus"

0 commit comments

Comments
 (0)