We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e971255 commit bc05255Copy full SHA for bc05255
scripts/release.sh
@@ -7,14 +7,14 @@ set -e
7
8
# Check if on master
9
BRANCH=$(git rev-parse --abbrev-ref HEAD)
10
-if [[ "$BRANCH" != "master" ]]; then
11
- echo 'Must be on master branch to cut a release!';
+if [[ "$BRANCH" != "main" ]]; then
+ echo 'Must be on main branch to cut a release!';
12
exit 1;
13
fi
14
15
# Check if master is dirty
16
if [[ -n $(git status -s) ]]; then
17
- echo 'Master branch dirty! Aborting.';
+ echo 'main branch dirty! Aborting.';
18
19
20
0 commit comments