Skip to content

Commit

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

- name: Build artifacts
run: |
build_number=$(awk -F+ '/version: / {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)
echo $build_number
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 e3d96ee

Please sign in to comment.