From 8cd0e7a058421a0fb9f5769bd3e561735f88c3ae Mon Sep 17 00:00:00 2001 From: LouisLam Date: Wed, 4 Aug 2021 13:53:21 +0800 Subject: [PATCH] a better script for version update --- extra/update-version.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/update-version.js b/extra/update-version.js index 797724abf..2296deed5 100644 --- a/extra/update-version.js +++ b/extra/update-version.js @@ -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") }