From 7c04572173f23b1d1458dbb4086eac1b4f717fd3 Mon Sep 17 00:00:00 2001 From: Subhash Chandra Date: Fri, 8 Nov 2024 11:57:28 +0530 Subject: [PATCH] fix: testing publish step --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51346cb..f15f381 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,6 +121,13 @@ jobs: git commit -m "chore: bump version to ${{ env.new_version }}" shell: bash + - name: Tag the new version + run: | + git tag "v${{ env.new_version }}" + git push origin "v${{ env.new_version }}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Publish to pub.dev uses: k-paxian/dart-package-publisher@v1.5.1 with: @@ -132,10 +139,3 @@ jobs: run: flutter pub publish --force env: PUB_ENVIRONMENT: github-action - - - name: Tag the new version - run: | - git tag "v${{ env.new_version }}" - git push origin "v${{ env.new_version }}" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}