Skip to content

Commit 5e8a4df

Browse files
authored
Merge pull request #182 from olmps/fix-release
Fixes release workflow
2 parents c9b79e6 + fdade9e commit 5e8a4df

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ a beta or production release, they must be documented here).
3333
- When quitting the execution, `CollectionExecutionPage` now uses the `showSnappableDraggableModalBottomSheet` instead
3434
of `AlertDialog`.
3535

36+
### Fixed
37+
- `release` workflow to setup Flutter pub before archiving.
38+
3639
#### Collections
3740

3841
- Cohesion improvements on `comecando_com_git`.

android/fastlane/Fastfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ platform :android do
55
lane :internal do
66
# Clean
77
sh("flutter", "clean")
8-
8+
9+
# Pub get
10+
sh("flutter", "pub", "get")
11+
912
# Bumps Version Code
1013
android_set_version_code()
1114

1215
# Build the app
13-
sh("flutter", "build", "appbundle", "--dart-define=ENV=PROD", "--bundle-sksl-path android_animations.json")
16+
sh("flutter", "build", "appbundle", "--dart-define=ENV=PROD", "--bundle-sksl-path=android_animations.json")
1417

1518
# Gets version info
1619
version_info = flutter_version(

ios/fastlane/Fastfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ platform :ios do
7272
# Clean
7373
sh("flutter", "clean")
7474

75+
# Pub get
76+
sh("flutter", "pub", "get")
77+
7578
# Increment the build number (use the latest build number for this version + 1)
7679
increment_build_number(
7780
build_number: latest_testflight_build_number(
@@ -83,7 +86,7 @@ platform :ios do
8386
)
8487

8588
# Run flutter build with release mode
86-
sh("flutter", "build", "ipa", "--release", "--dart-define=ENV=PROD", "--export-options-plist=ios/exportOptions.plist", "--bundle-sksl-path ios_animations.json")
89+
sh("flutter", "build", "ipa", "--release", "--dart-define=ENV=PROD", "--export-options-plist=ios/exportOptions.plist", "--bundle-sksl-path=ios_animations.json")
8790

8891
# Zip dSYMs
8992
sh(

0 commit comments

Comments
 (0)