Skip to content

Commit

Permalink
Rename main branch in publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmomberger-bitovi committed Apr 3, 2024
1 parent c1c716f commit 0f03a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "node build.js",
"preversion": "npm test && npm run build",
"version": "git commit -am \"Update version number\" && git checkout -b release && git add -f dist/",
"postpublish": "git push --tags && git checkout master && git branch -D release && git push origin master",
"postpublish": "git push --tags && git checkout main && git branch -D release && git push origin master",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
Expand Down

0 comments on commit 0f03a7b

Please sign in to comment.