Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Commit c5b68cf

Browse files
committed
chore: add push script to package.json
1 parent bcc4531 commit c5b68cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"test": "go build -v ; go test -v ./...",
99
"gitbranch": "BRANCH=$(git rev-parse --abbrev-ref HEAD); if [[ \"$BRANCH\" != \"master\" ]]; then echo \"you must be on master branch to release\" >&2; exit 1 ; fi",
1010
"gitstatus": "STATUS=$(git status --porcelain 2>&1); echo $STATUS >&2; if [[ ! -z \"$STATUS\" ]]; then exit 1; fi;",
11-
"gittest": "yarn gitbranch && yarn gitstatus"
11+
"gittest": "yarn gitbranch && yarn gitstatus",
12+
"push": "git push --follow-tags origin master"
1213
},
1314
"standard-version": {
1415
"scripts": {

0 commit comments

Comments
 (0)