Skip to content

Commit bc05255

Browse files
committed
Update release script
1 parent e971255 commit bc05255

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ set -e
77

88
# Check if on master
99
BRANCH=$(git rev-parse --abbrev-ref HEAD)
10-
if [[ "$BRANCH" != "master" ]]; then
11-
echo 'Must be on master branch to cut a release!';
10+
if [[ "$BRANCH" != "main" ]]; then
11+
echo 'Must be on main branch to cut a release!';
1212
exit 1;
1313
fi
1414

1515
# Check if master is dirty
1616
if [[ -n $(git status -s) ]]; then
17-
echo 'Master branch dirty! Aborting.';
17+
echo 'main branch dirty! Aborting.';
1818
exit 1;
1919
fi
2020

0 commit comments

Comments
 (0)