Skip to content

Commit

Permalink
chore: fix the branch checking condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 23, 2016
1 parent e33fb50 commit 2663c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ $TRAVIS_PULL_REQUEST = "true" ]]; then
exit 0
fi

if [[ $TRAVIS_BRANCH = "master" ]]; then
if [[ $TRAVIS_BRANCH != "master" ]]; then
echo 'This is not a master branch. Exiting the release script.'

exit 0
Expand Down

0 comments on commit 2663c94

Please sign in to comment.