Skip to content

Commit 77339b9

Browse files
committed
s/master/main
1 parent 0bb0639 commit 77339b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ version=$1
44
git add .
55
git diff --exit-code
66
current_branch=$(git rev-parse --abbrev-ref HEAD)
7-
test 'master' = $current_branch
7+
test 'main' = $current_branch
88
git checkout master-node_modules
9-
git reset --hard master
9+
git reset --hard main
1010
rm -rf node_modules
1111
yarn install
1212
yarn run build
@@ -19,6 +19,6 @@ git push -f origin master-node_modules
1919
git tag -d "v$version" || true
2020
git tag -a "v$version" -m "v$version"
2121
git push -f origin "v$version"
22-
git co master
22+
git co main
2323
rm -rf node_modules
2424
yarn install

0 commit comments

Comments
 (0)