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 d0785fc commit 460a109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 460a109

Please sign in to comment.