Skip to content

Commit 97ff22a

Browse files
authored
Merge pull request #13 from vikadata/polish
fix deploy shell
2 parents cc8f5a7 + 761579e commit 97ff22a

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.ci/deploy.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ if [ -z "$GPG_PASSPHRASE" ]; then
2323
exit 1
2424
fi
2525

26-
if [ -z "$1" ]; then
27-
echo "missing environment value: Maven BUILD PROFILE" >&2
28-
exit 1
29-
fi
30-
3126
version=$(mvn exec:exec -q -N -Dexec.executable="echo" -Dexec.args='${project.version}' | awk -F '-' '{print $2}')
3227
echo "${version}"
3328

.ci/release.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ if [ -z "$GPG_PASSPHRASE" ]; then
2323
exit 1
2424
fi
2525

26-
if [ -z "$1" ]; then
27-
echo "missing environment value: Maven BUILD PROFILE" >&2
28-
exit 1
29-
fi
30-
3126
if [ "$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"
3328
else

0 commit comments

Comments
 (0)