package script for updating git tag

This commit is contained in:
softprops 2024-03-11 09:46:18 -04:00
parent 3198ee18f8
commit 1ce812a7bd

View File

@ -8,7 +8,8 @@
"build": "ncc build src/main.ts --minify", "build": "ncc build src/main.ts --minify",
"test": "jest", "test": "jest",
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"", "fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"" "fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"updatetag": "git tag -d v2 && git push origin :v2 && git tag -a v2 -m '' && git push origin v2"
}, },
"repository": { "repository": {
"type": "git", "type": "git",