From 84556975b64eff629e3ad9a3311090865a6e361d Mon Sep 17 00:00:00 2001 From: gxz Date: Tue, 5 Sep 2023 15:18:19 +0800 Subject: [PATCH] ci: fix --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index a5085d2..5055333 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,9 @@ "requireCleanWorkingDir": false, "tagName": "v${version}" }, + "hooks": { + "before:init": "git fetch --prune --prune-tags origin" + }, "npm": { "allowSameVersion": true },