Skip to content

Commit

Permalink
s/master/main
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed May 31, 2021
1 parent 0bb0639 commit 77339b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ version=$1
git add .
git diff --exit-code
current_branch=$(git rev-parse --abbrev-ref HEAD)
test 'master' = $current_branch
test 'main' = $current_branch
git checkout master-node_modules
git reset --hard master
git reset --hard main
rm -rf node_modules
yarn install
yarn run build
Expand All @@ -19,6 +19,6 @@ git push -f origin master-node_modules
git tag -d "v$version" || true
git tag -a "v$version" -m "v$version"
git push -f origin "v$version"
git co master
git co main
rm -rf node_modules
yarn install

0 comments on commit 77339b9

Please sign in to comment.