Skip to content

Commit 27c1d74

Browse files
committedFeb 23, 2024·
chore: fix version detection in beta CI
1 parent 1c1544b commit 27c1d74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎.github/workflows/release_publish-beta.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
id: version
6565
with:
6666
cmd: 'jq .version package.json -r'
67+
- name: Last Beta Version
68+
if: github.event.inputs.kind == 'mirror'
69+
run: echo "Last Beta Version: ${{ steps.version.outputs.value }}"
6770
- name: Reset the Beta Branch
6871
if: github.event.inputs.kind == 'mirror' || github.event.inputs.is-cycle-start == 'true'
6972
run: git reset --hard origin/main && git push origin beta -f
@@ -82,7 +85,7 @@ jobs:
8285
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
8386
- name: Publish New Mirror Release
8487
if: github.event.inputs.kind == 'mirror'
85-
run: bun release exec publish beta --from=${{ steps.version.outputs.stdout }}
88+
run: bun release exec publish beta --from=${{ steps.version.outputs.value }}
8689
env:
8790
FORCE_COLOR: 2
8891
CI: true

0 commit comments

Comments
 (0)
Please sign in to comment.