Skip to content

Commit

Permalink
removes filter since the filtering happens in the circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Jan 21, 2019
1 parent 7bcff18 commit 1846da8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .buildscripts/deploy_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
REPO="purchases-android"
USERNAME="RevenueCat"
JDK="oraclejdk8"
BRANCH="master"

if [ "$CIRCLE_PROJECT_REPONAME" != "$REPO" ]; then
echo "Skipping snapshot deployment: wrong repository. Expected '$REPO' but was '$CIRCLE_PROJECT_REPONAME'."
Expand All @@ -18,8 +17,6 @@ elif [ "$CIRCLE_PROJECT_USERNAME" != "$USERNAME" ]; then
elif [ "$CIRCLE_JDK_VERSION" != "$JDK" ]; then
# $CIRCLE_JDK_VERSION must be manually set in circle.yml
echo "Skipping snapshot deployment: wrong JDK. Expected '$JDK' but was '$CIRCLE_JDK_VERSION'."
elif [ "$CIRCLE_BRANCH" != "$BRANCH" ]; then
echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$CIRCLE_BRANCH'."
else
echo "Deploying snapshot..."
./gradlew uploadArchives -P signing.keyId=$GPG_SIGNING_KEY_ID -Psigning.password=$GPG_SIGNING_KEY_PW -Psigning.secretKeyRingFile=./secring.gpg \
Expand Down

0 comments on commit 1846da8

Please sign in to comment.