Skip to content

Commit

Permalink
Fix deploy action (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 authored Feb 20, 2024
2 parents 417c250 + 6e8820c commit 3ecac5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
current_environment: staging
production_version: ${{ steps.latest-production-version.outputs.latest_version_name }}
staging_version: ${{ steps.latest-beta-version.outputs.latest_version_name }}
bump_type: preminor
bump_type: prerelease

- name: Bump prod version (from develop)
uses: LuisDuarte1/[email protected]
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
echo "$NEW_VERSION_NAME+$((${{steps.latest-production-version.outputs.latest_version_code}} + 1))" > ${{env.APP_VERSION_PATH}}
- name: Copy app version to pubspec
run: cat ${{ env.APP_VERSION_PATH }} | perl -i -pe 's/^(version:\s+)(\d+\.\d+\.\d+\+\d+)$/$1.(<STDIN>)/e' ${{ env.PUBSPEC_PATH }}
run: cat ${{ env.APP_VERSION_PATH }} | tr -d '\n' | perl -i -pe 's/^(version:\s+)(.+)$/$1.(<STDIN>)/e' ${{ env.PUBSPEC_PATH }}

- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit 3ecac5e

Please sign in to comment.