Skip to content

Commit

Permalink
chore: update version tasks to create release branch first
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdumpling committed Aug 7, 2023
1 parent f08f368 commit f3a2607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"release:major": "npm version major -m \"chore(release): version %s\"",
"changelog": "conventional-changelog-generator",
"preversion": "npm test",
"version": "npm run build:browser && npm run changelog && git add .",
"postversion": "git push && git push --tags && npm run publish:example",
"version": "npm run build:browser && npm run changelog && git checkout -b chore/release-${npm_package_version} && git add .",
"postversion": "git push -u origin chore/release-${npm_package_version} && git push --tags --no-verify",
"publish:example": "gh-pages -d example/dist"
},
"readmeFilename": "README.md",
Expand Down

0 comments on commit f3a2607

Please sign in to comment.