Skip to content

Commit

Permalink
docs: create branch of current version
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed Jul 8, 2021
1 parent 1f3c56a commit 85df956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major -m 'Release v%s' && npm run git:push:tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor -m 'Release v%s' && npm run git:push:tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch -m 'Release v%s' && npm run git:push:tags",
"git:push:tags": "git push origin && git push origin --tags"
"git:push:tags": "npm run versionBranch && git push origin && git push origin --tags",
"versionBranch": "git switch -c $npm_package_version && git checkout -"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 85df956

Please sign in to comment.