Skip to content

Commit

Permalink
Merge pull request #641 from tweenjs/update-release-scripts
Browse files Browse the repository at this point in the history
update release scripts so that they build and test prior to publishing on npm
  • Loading branch information
trusktr authored Apr 2, 2023
2 parents b42a9a9 + dde3612 commit 5b8baa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"prettier": "prettier './**/*.{js,ts,md,json,html,css}'",
"prepare": "npm run build",
"version": "npm test && git add .",
"release:patch": "npm version patch --message 'v%s' && npm publish && npm run _release:push-branch",
"release:minor": "npm version minor --message 'v%s' && npm publish && npm run _release:push-branch",
"release:major": "npm version major --message 'v%s' && npm publish && npm run _release:push-branch",
"release:patch": "npm run build && npm test && npm version patch --message 'v%s' && npm publish && npm run _release:push-branch",
"release:minor": "npm run build && npm test && npm version minor --message 'v%s' && npm publish && npm run _release:push-branch",
"release:major": "npm run build && npm test && npm version major --message 'v%s' && npm publish && npm run _release:push-branch",
"_release:push-branch": "git push --follow-tags --set-upstream origin `git rev-parse --abbrev-ref HEAD`"
},
"author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)",
Expand Down

0 comments on commit 5b8baa0

Please sign in to comment.