Fix: do not tag locally

This commit is contained in:
Louis Lam
2025-09-05 12:45:56 +08:00
parent 0e30c43a80
commit a133d1269d
2 changed files with 8 additions and 2 deletions

View File

@@ -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");

View File

@@ -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");