File tree Expand file tree Collapse file tree 1 file changed +10
-26
lines changed
Expand file tree Collapse file tree 1 file changed +10
-26
lines changed Original file line number Diff line number Diff line change @@ -5,36 +5,20 @@ if [ ! -z "$TRAVIS_TAG" ]
55then
66 echo " on a tag -> set pom.xml <version> to $TRAVIS_TAG "
77 mvn --settings .travis/mvnsettings.xml org.codehaus.mojo:versions-maven-plugin:2.3:set -DnewVersion=$TRAVIS_TAG
8-
9- if [ ! -z " $TRAVIS " -a -f " $HOME /.gnupg" ]; then
10- shred -v ~ /.gnupg/*
11- rm -rf ~ /.gnupg
12- fi
13-
14- source .travis/gpg.sh
15-
16- mvn clean deploy --settings .travis/mvnsettings.xml -DskipTests=true --batch-mode --update-snapshots
17-
18-
19- if [ ! -z " $TRAVIS " ]; then
20- shred -v ~ /.gnupg/*
21- rm -rf ~ /.gnupg
22- fi
238else
249 echo " not on a tag -> keep snapshot version in pom.xml"
10+ fi
2511
26- if [ ! -z " $TRAVIS " -a -f " $HOME /.gnupg" ]; then
27- shred -v ~ /.gnupg/*
28- rm -rf ~ /.gnupg
29- fi
30-
31- source .travis/gpg.sh
12+ if [ ! -z " $TRAVIS " -a -f " $HOME /.gnupg" ]; then
13+ shred -v ~ /.gnupg/*
14+ rm -rf ~ /.gnupg
15+ fi
3216
33- mvn clean deploy --settings .travis/mvnsettings.xml -DskipTests=true --batch-mode --update-snapshots
17+ source .travis/gpg.sh
3418
19+ mvn clean deploy --settings .travis/mvnsettings.xml -DskipTests=true --batch-mode --update-snapshots
3520
36- if [ ! -z " $TRAVIS " ]; then
37- shred -v ~ /.gnupg/*
38- rm -rf ~ /.gnupg
39- fi
21+ if [ ! -z " $TRAVIS " ]; then
22+ shred -v ~ /.gnupg/*
23+ rm -rf ~ /.gnupg
4024fi
You can’t perform that action at this time.
0 commit comments