Skip to content

Commit

Permalink
fix build-ios script
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Jan 3, 2024
1 parent 3c4df00 commit 1dd1d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ jobs:
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }}
run: |
# Get app version from file
FILE_VALUE=`cat $GITHUB_WORKSPACE/lib/version.dart`
VERSION=`echo $FILE_VALUE | sed "s/[^']*'\([^']*\)'.*/\1/"`
VERSION=$(echo | grep "^version: " pubspec.yaml)
# Build ios app with flutter
echo "flutter build ios --build-name $VERSION --dart-define=\"PROJECT_ID=$PROJECT_ID\" --config-only --release"
flutter build ios --build-name $VERSION --dart-define="PROJECT_ID=$PROJECT_ID" --config-only --release
cd ios
Expand Down

0 comments on commit 1dd1d9c

Please sign in to comment.