Skip to content

Commit

Permalink
ci(deploy): remove escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed May 20, 2021
1 parent f783b80 commit 050d4af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .buildsystem/deploy-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ done

if [ -n "$GIT_TAG_NAME" ]; then
echo "on a tag -> deploy release version $GIT_TAG_NAME"
./gradlew "$ATASK" -PreleaseMode=RELEASE
./gradlew "$DTASK" -PreleaseMode=RELEASE
./gradlew $ATASK -PreleaseMode=RELEASE
./gradlew $DTASK -PreleaseMode=RELEASE
else
echo "not on a tag -> deploy snapshot version"
./gradlew "$ATASK" -PreleaseMode=SNAPSHOT
./gradlew "$DTASK" -PreleaseMode=SNAPSHOT
./gradlew $ATASK -PreleaseMode=SNAPSHOT
./gradlew $DTASK -PreleaseMode=SNAPSHOT
fi
8 changes: 4 additions & 4 deletions .buildsystem/deploy-sonatype.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ echo "Value of TEST_ENVVAR is $TEST_ENVVAR"

if [ -z "$GIT_TAG_NAME" ]; then
echo "not on a tag -> deploy snapshot version"
./gradlew "$ATASK" -PreleaseMode=SNAPSHOT
./gradlew "$DTASK" -PreleaseMode=SNAPSHOT
./gradlew $ATASK -PreleaseMode=SNAPSHOT
./gradlew $DTASK -PreleaseMode=SNAPSHOT
else
echo "on a tag -> deploy release version $GIT_TAG_NAME"
./gradlew "$ATASK" -PreleaseMode=RELEASE
./gradlew "$DTASK" -PreleaseMode=RELEASE
./gradlew $ATASK -PreleaseMode=RELEASE
./gradlew $DTASK -PreleaseMode=RELEASE
fi

0 comments on commit 050d4af

Please sign in to comment.