From 9e205539126a17b895296dccc02ff16ca707336d Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Thu, 18 Jan 2024 17:07:18 +0100 Subject: [PATCH] [INTERNAL] package.json: Move postversion git push to prepublishOnly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 13b1d480..8ed7ec94 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"", "preversion": "npm test", "version": "git-chglog --next-tag v$npm_package_version -o CHANGELOG.md && git add CHANGELOG.md", - "postversion": "git push --follow-tags", + "prepublishOnly": "git push --follow-tags", "release-note": "git-chglog -c .chglog/release-config.yml v$npm_package_version", "depcheck": "depcheck --ignores docdash" },