From a47324a8a32c5a8bf0d3ab5eaf7cc19d4081b08a Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Thu, 18 Jan 2024 17:08:40 +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 1891e97c..aad49859 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" },