mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-12 06:26:59 +08:00
Fix: do not tag locally
This commit is contained in:
@@ -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");
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user