From a133d1269d680a7f8809976e4f55ff844387e4d5 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 5 Sep 2025 12:45:56 +0800 Subject: [PATCH] Fix: do not tag locally --- extra/beta/update-version.js | 5 ++++- extra/update-version.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/extra/beta/update-version.js b/extra/beta/update-version.js index 9ab00155b..bea7ef7a0 100644 --- a/extra/beta/update-version.js +++ b/extra/beta/update-version.js @@ -26,7 +26,10 @@ if (! exists) { childProcess.spawnSync(npm, [ "install" ]); commit(version); - tag(version); + + // As the master branch is protected now, we do not create tags here + // Instead, we create the tag manually along with the GitHub release + // tag(version); } else { console.log("version tag exists, please delete the tag or use another tag"); diff --git a/extra/update-version.js b/extra/update-version.js index f9aead09d..d3068bc63 100644 --- a/extra/update-version.js +++ b/extra/update-version.js @@ -30,7 +30,10 @@ if (! exists) { childProcess.spawnSync(npm, [ "install" ]); commit(newVersion); - tag(newVersion); + + // As the master branch is protected now, we do not create tags here + // Instead, we create the tag manually along with the GitHub release + // tag(version); } else { console.log("version exists");