Skip to content

Commit 16bcd02

Browse files
zzcrkagol
authored andcommitted
fix: fix all publish action run error (#2798)
1 parent 4e4784a commit 16bcd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-all-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
script: |
1919
const tag = `${{ github.ref_name }}`
20-
const branchVersion = tag.slice(1)
20+
const branchVersion = tag.slice(1).split('.').slice(0, 2).join('.') + '.0'
2121
core.setOutput('branchVersion', branchVersion)
2222
2323
- name: CheckOut Code

0 commit comments

Comments
 (0)