Skip to content

Commit

Permalink
Merge pull request #13 from AbdeltwabMF/fix/workflow
Browse files Browse the repository at this point in the history
Add build-number to GitHub release action
  • Loading branch information
AbdeltwabMF authored Feb 4, 2023
2 parents f1dae4c + c8cd381 commit 5683925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:

- name: Build artifacts
run: |
build_number=$(awk -F+ '{print $2}' pubspec.yaml)
flutter build apk --build-name=${{github.ref_name}} --build-number=$build_number --release
build_number=$(awk -F+ '/version: / {print $2}' pubspec.yaml)
flutter build apk --build-name=${{github.ref_name}} --build-number=${build_number} --release
- name: Release artifacts and source code
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 5683925

Please sign in to comment.