Update create-release.yml to use pnpm version

This commit is contained in:
Bertie690 2025-09-05 22:50:13 -04:00 committed by GitHub
parent 24a78572f8
commit 000d685218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,12 +52,13 @@ jobs:
run: git checkout -b release
# In order to be able to open a PR into beta, we need the branch to have at least one commit.
- name: Create empty release commit
# The first commit is _usually_ just bumping the version number, so we can kill 2 birds with 1 stone!
- name: Bump release version
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit --allow-empty -m "Stage release for version v${{ github.events.inputs.versionName }}"
pnpm --no-git-tag-version version ${{ github.events.inputs.versionName }}
git commit -am "Stage release for v${{ github.events.inputs.versionName }}"
- name: Push new branch
run: git push origin release
# The repository variable is used by the deploy-beta workflow to determine whether to deploy from beta or release.