Skip to content

Commit

Permalink
Set build number for every build to be the same as github.run_number
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozRatej committed Feb 1, 2023
1 parent 4313cf6 commit 440c88d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
channel: "beta"
- run: flutter clean
- run: flutter pub get
- run: flutter build apk --release --split-per-abi --build-name=${{ steps.gitversion.outputs.nuGetVersion }}
- run: flutter build appbundle --release --build-name=${{ steps.gitversion.outputs.nuGetVersion }}
- run: flutter build apk --release --split-per-abi --build-name=${{ steps.gitversion.outputs.nuGetVersion }} --build-number=${{github.run_number}}
- run: flutter build appbundle --release --build-name=${{ steps.gitversion.outputs.nuGetVersion }} --build-number=${{github.run_number}}
- name: Create a Release in GitHub
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 440c88d

Please sign in to comment.