updated postversion script

This commit is contained in:
Jeff Dickey 2023-12-14 08:41:07 -06:00
parent 0551aa6fd4
commit 015cd77f75
No known key found for this signature in database
GPG key ID: 584DADE86724B407

View file

@ -25,7 +25,7 @@
"package": "ncc build src/index.ts --license licenses.txt",
"package:watch": "npm run package -- --watch",
"prepare": "husky install",
"postversion": "git push --tags && git tag v1 -f && git push origin v1 -f"
"postversion": "git push origin v$(jq -r .version package.json) && git tag v1 -f && git push origin v1 -f"
},
"license": "MIT",
"dependencies": {