From 7d1fbeb413b2a2663128d8afd3b88ae38249e7c0 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Mon, 13 Jan 2025 20:44:25 +0800 Subject: [PATCH] fix: fix all publish action run error (#2798) --- .github/workflows/auto-all-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-all-publish.yml b/.github/workflows/auto-all-publish.yml index e90c8941b6..3c44781f92 100644 --- a/.github/workflows/auto-all-publish.yml +++ b/.github/workflows/auto-all-publish.yml @@ -17,7 +17,7 @@ jobs: with: script: | const tag = `${{ github.ref_name }}` - const branchVersion = tag.slice(1) + const branchVersion = tag.slice(1).split('.').slice(0, 2).join('.') + '.0' core.setOutput('branchVersion', branchVersion) - name: CheckOut Code