File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ if [ -z "$GPG_PASSPHRASE" ]; then
2323 exit 1
2424fi
2525
26- if [ -z " $1 " ]; then
27- echo " missing environment value: Maven BUILD PROFILE" >&2
28- exit 1
29- fi
30-
3126version=$( mvn exec:exec -q -N -Dexec.executable=" echo" -Dexec.args=' ${project.version}' | awk -F ' -' ' {print $2}' )
3227echo " ${version} "
3328
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ if [ -z "$GPG_PASSPHRASE" ]; then
2323 exit 1
2424fi
2525
26- if [ -z " $1 " ]; then
27- echo " missing environment value: Maven BUILD PROFILE" >&2
28- exit 1
29- fi
30-
3126if [ " $TRAVIS_TAG " ]; then
3227 mvn clean deploy -Prelease --settings " ${TRAVIS_BUILD_DIR} " /.mvn/settings.xml -Dgpg.executable=gpg2 -Dgpg.keyname=" $GPG_KEY_NAME " -Dgpg.passphrase=" $GPG_PASSPHRASE "
3328else
You can’t perform that action at this time.
0 commit comments