mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
a better script for version update
This commit is contained in:
parent
8fce62632d
commit
8cd0e7a058
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ if (! exists) {
|
||||||
// Process README.md
|
// Process README.md
|
||||||
fs.writeFileSync("README.md", fs.readFileSync("README.md", "utf8").replaceAll(oldVersion, newVersion));
|
fs.writeFileSync("README.md", fs.readFileSync("README.md", "utf8").replaceAll(oldVersion, newVersion));
|
||||||
|
|
||||||
//commit(newVersion);
|
commit(newVersion);
|
||||||
//tag(newVersion);
|
tag(newVersion);
|
||||||
} else {
|
} else {
|
||||||
console.log("version exists")
|
console.log("version exists")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue