Skip to content

Commit ca049e4

Browse files
committed
chore(package.json): update deploy script to push tags before publishing to npm
The deploy script in package.json has been updated to push tags before publishing to npm. This ensures that the latest version tag is pushed to the remote repository before publishing the package.
1 parent a2b1890 commit ca049e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dev": "ts-node ./src/cli.ts",
4444
"build": "rimraf out && node esbuild.config.js",
4545
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
46-
"deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest",
46+
"deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
4747
"lint": "eslint src --ext ts && tsc --noEmit",
4848
"format": "prettier --write src"
4949
},

0 commit comments

Comments
 (0)