chore(package.json): update deploy script to use 'git push --follow-tags' instead of 'git push --tags'

The deploy script in package.json has been updated to use 'git push --follow-tags' instead of 'git push --tags'. This change ensures that tags are pushed along with the commit when deploying the application.
This commit is contained in:
di-sukharev
2023-09-03 15:07:43 +08:00
parent a9f550fb79
commit ebeb68fd9b

View File

@@ -42,7 +42,7 @@
"dev": "ts-node ./src/cli.ts",
"build": "rimraf out && node esbuild.config.js",
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
"deploy": "npm run build:push && npm version patch && git push --tags && git push && npm publish --tag latest",
"deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest",
"lint": "eslint src --ext ts && tsc --noEmit",
"format": "prettier --write src"
},