Skip to content

Commit

Permalink
Fix release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Jun 20, 2022
1 parent c4be4f5 commit 6cac5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if [[ $retcode != 0 ]]; then
exit 1
fi

if [[ $(git rev-parse --abbrev-ref HEAD) != master ]]; then
echo "Must be on master for release"
if [[ $(git rev-parse --abbrev-ref HEAD) != main ]]; then
echo "Must be on main branch for release"
exit 1
fi

Expand Down

0 comments on commit 6cac5f4

Please sign in to comment.