a better script for version update

pull/163/head
LouisLam 3 years ago
parent 8fce62632d
commit 8cd0e7a058

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

Loading…
Cancel
Save