From ebeb68fd9bf64dc88db0b0a265415405705076aa Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Sun, 3 Sep 2023 15:07:43 +0800 Subject: [PATCH] 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bda4e2b..8b37dbb 100644 --- a/package.json +++ b/package.json @@ -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" },