Skip to content

Commit

Permalink
release.sh: Fix the push check
Browse files Browse the repository at this point in the history
  • Loading branch information
Miikka Koskinen committed May 5, 2020
1 parent 3f04312 commit ff82a82
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 @@ -20,7 +20,7 @@ if ! git diff-index --quiet HEAD -- project.clj; then
exit 1
fi

if ! git merge-base --is-ancestor "master@{u}" master; then
if ! git merge-base --is-ancestor "master" "master@{u}"; then
echo "The master branch has not been pushed. Please git push."
exit 1
fi
Expand Down

0 comments on commit ff82a82

Please sign in to comment.