From 015cd77f75642e852fef408ca29ae2c9a24316b8 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:41:07 -0600 Subject: [PATCH] updated postversion script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 550f5ed..860a3e3 100644 --- a/package.json +++ b/package.json @@ -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": {