Skip to content

Commit ac076b0

Browse files
committed
chore: fix version determination for beta script
1 parent 5954a8d commit ac076b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release_publish-beta.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ jobs:
5858
run: |
5959
git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
6060
git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
61-
- name: Get last beta version from package.json
62-
id: version
63-
if: github.event.inputs.kind == 'mirror'
64-
run: echo "::set-output name=value::$(bun --silent release latest beta)"
6561
- name: Reset the Beta Branch
6662
if: github.event.inputs.kind == 'mirror' || github.event.inputs.is-cycle-start == 'true'
6763
run: git reset --hard origin/main && git push origin beta -f
6864
- uses: ./.github/actions/setup
6965
with:
7066
install: true
7167
repo-token: ${{ secrets.GH_DEPLOY_TOKEN }}
68+
- name: Get most recent beta version
69+
id: version
70+
if: github.event.inputs.kind == 'mirror'
71+
run: echo "value=$(bun --silent release latest beta)" >> $GITHUB_OUTPUT
7272
- name: Publish New Release
7373
# For beta-cycle we always increment from the branch state
7474
# For mirror we increment from the last beta version, unless it's start of a new cycle.

0 commit comments

Comments
 (0)