mirror of https://github.com/louislam/uptime-kuma
Fix: do not tag locally
parent
0e30c43a80
commit
a133d1269d
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue