Skip to content

Commit

Permalink
CI: set flutter package version with sed
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Nov 2, 2023
1 parent ec6c8eb commit 3a57949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
- name: Set package version
working-directory: flutter
run: |
flutter pub global activate pubspec_version
pubver set ${{ inputs.package-version }}
sed -i.bak -e 's/version:.*/version: ${{ inputs.package-version }}/' pubspec.yaml
rm pubspec.yaml.bak
- name: Archive flutter release
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3a57949

Please sign in to comment.