Skip to content

Commit 514f1ad

Browse files
authored
chore: updated prep key script
1 parent b9a5571 commit 514f1ad

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/prep-key.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
set -e
33

44
export DEPLOY_BRANCH=${DEPLOY_BRANCH:-master}
5-
export DEV_BRANCH=${DEV_BRANCH:-development}
65

7-
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_REPO_SLUG" != "fossasia/pslab-android" ] || ! [ "$TRAVIS_BRANCH" == "$DEPLOY_BRANCH" -o "$TRAVIS_BRANCH" == "$DEV_BRANCH" ]; then
6+
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_REPO_SLUG" != "fossasia/pslab-android" -o "$TRAVIS_BRANCH" != "$DEPLOY_BRANCH" ]; then
87
echo "We decrypt key only for pushes to the master branch and not PRs. So, skip."
98
exit 0
109
fi

0 commit comments

Comments
 (0)