From 000d6852189f724e9580fc0d4de9ee96c94fd80a Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Fri, 5 Sep 2025 22:50:13 -0400 Subject: [PATCH] Update `create-release.yml` to use `pnpm version` --- .github/workflows/create-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index a4b2069f877..bd4071b1206 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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.