From 823ed649b7e543357111501bdcc0db846164e632 Mon Sep 17 00:00:00 2001 From: tsutsu3 Date: Sat, 25 Jan 2025 21:26:49 +0900 Subject: [PATCH] fix --- .github/workflows/test-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-release.yaml b/.github/workflows/test-release.yaml index b817a5ee..407adcb6 100644 --- a/.github/workflows/test-release.yaml +++ b/.github/workflows/test-release.yaml @@ -171,7 +171,7 @@ jobs: # releaseName: ${{ env.VERSION_NAME }} bump-version: - name: Bump version in pubspec.yaml + name: Bump version for production release runs-on: ubuntu-latest needs: get-version steps: @@ -195,6 +195,7 @@ jobs: run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' + git checkout ${{ github.head_ref }} git add pubspec.yaml git commit -m "Bump build version" git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git ${{ github.head_ref }}