Skip to content

Commit 1ce812a

Browse files
committed
package script for updating git tag
1 parent 3198ee1 commit 1ce812a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "ncc build src/main.ts --minify",
99
"test": "jest",
1010
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
11-
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\""
11+
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
12+
"updatetag": "git tag -d v2 && git push origin :v2 && git tag -a v2 -m '' && git push origin v2"
1213
},
1314
"repository": {
1415
"type": "git",

0 commit comments

Comments
 (0)