Simplify final release

This commit is contained in:
Louis Lam
2022-03-22 16:45:07 +08:00
parent 909618a29a
commit 668dffc2c5
5 changed files with 61 additions and 54 deletions

View File

@@ -44,6 +44,9 @@ function commit(version) {
if (stdout.includes("no changes added to commit")) {
throw new Error("commit error");
}
res = child_process.spawnSync("git", ["push", "origin", "master"]);
console.log(res.stdout.toString().trim());
}
function tag(version) {