mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 09:55:47 +08:00
a better script for version update
This commit is contained in:
@@ -44,8 +44,8 @@ if (! exists) {
|
||||
// Process README.md
|
||||
fs.writeFileSync("README.md", fs.readFileSync("README.md", "utf8").replaceAll(oldVersion, newVersion));
|
||||
|
||||
//commit(newVersion);
|
||||
//tag(newVersion);
|
||||
commit(newVersion);
|
||||
tag(newVersion);
|
||||
} else {
|
||||
console.log("version exists")
|
||||
}
|
||||
|
Reference in New Issue
Block a user