From 3a028c75b0bd9e3fe45f0d6523d4e2978bc97028 Mon Sep 17 00:00:00 2001 From: MuyianKing Date: Wed, 6 Nov 2024 16:42:57 +0800 Subject: [PATCH] release: v0.1.2 --- script/publish.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/publish.js b/script/publish.js index 6b43bb6..e2a27ee 100644 --- a/script/publish.js +++ b/script/publish.js @@ -41,6 +41,9 @@ function publish() { console.log('error1', error) const version = `v${_config.version}` + + console.log(`git push && git tag ${version} && git push origin ${version}`) + child_process.exec(`git commit -m"release: ${version}"`, (error) => { console.log('error2', error)