From 94bbe4a53a3131459246b10d6908935503aaa9b9 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Mon, 20 Nov 2023 14:11:56 +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 3b25a50d..60e1747f 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"", "preversion": "npm test", "version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v3.0.0.. && git add CHANGELOG.md", - "postversion": "git push --follow-tags", + "prepublishOnly": "git push --follow-tags", "release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version", "depcheck": "depcheck --ignores @ui5/logger,rimraf,docdash,@istanbuljs/esm-loader-hook" },