From 8209e320ad21e436967ea5a46d706e1cc27fd36d Mon Sep 17 00:00:00 2001 From: Liplum Date: Tue, 14 May 2024 07:16:26 +0800 Subject: [PATCH] [tools] fixed increment-build-number.mjs --- tools/increment-build-number.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/increment-build-number.mjs b/tools/increment-build-number.mjs index 134dd96c0..936aca9c4 100644 --- a/tools/increment-build-number.mjs +++ b/tools/increment-build-number.mjs @@ -17,13 +17,13 @@ async function pushAndTagChanges(newVersion) { await git.add(".") await git.commit(`build: ${newVersion}`) - await git.tag({ - "-a": `v${newVersion}`, - "-m": `v${newVersion} + await git.tag([ + "-a", `v${newVersion}`, + "-m", `v${newVersion} run id: ${runId} run_attempt(should be 1): ${runAttempt} ${serverUrl}/${repository}/actions/runs/${runId}`, - }) + ]) } async function main() {