Skip to content

Commit

Permalink
fix: fix all publish action run error (#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr authored Jan 13, 2025
1 parent 8ae0fdf commit 7d1fbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-all-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d1fbeb

Please sign in to comment.