Skip to content

Commit b0eb95d

Browse files
committed
chore: standardize postrelease script (screpto)
1 parent 416f48a commit b0eb95d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@
3030
"prerelease": "npm t && npm run lint",
3131
"release": "standard-version",
3232
"precommit": "lint-staged",
33-
"commitmsg": "commitlint -e $GIT_PARAMS"
34-
},
35-
"standard-version": {
36-
"scripts": {
37-
"posttag": "git push --follow-tags origin master"
38-
}
33+
"commitmsg": "commitlint -e $GIT_PARAMS",
34+
"postrelease": "git push --follow-tags origin master && npm publish"
3935
},
4036
"lint-staged": {
4137
"*.js": [

0 commit comments

Comments
 (0)