Skip to content

Commit

Permalink
Fix fastlane permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
abc873693 committed Mar 4, 2021
1 parent cd9e23f commit 17a4544
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
default_platform(:android)

sh("chmod", "a+x", "../../.github/scripts/generate_android_changelog.sh")

sh("../../.github/scripts/generate_android_changelog.sh", flutter_version()["version_code"])

platform :android do
desc "Deploy to closed beta track"
lane :beta do
Expand All @@ -10,8 +14,6 @@ platform :android do
build_type: 'Release'
)

sh("../../.github/scripts/generate_android_changelog.sh", flutter_version()["version_code"])

upload_to_play_store(
track: 'beta',
aab: '../build/app/outputs/bundle/release/app-release.aab',
Expand Down
7 changes: 5 additions & 2 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ def ensure_temp_keychain(name, password)
create_temp_keychain(name, password)
end


sh("chmod", "a+x", "../../.github/scripts/generate_ios_changelog.sh")

sh("../../.github/scripts/generate_ios_changelog.sh", flutter_version()["version_code"])

platform :ios do
lane :closed_beta do
keychain_name = TEMP_KEYCHAIN_USER
Expand Down Expand Up @@ -53,8 +58,6 @@ platform :ios do
}
)

sh("../../.github/scripts/generate_ios_changelog.sh", flutter_version()["version_code"])

pilot(
apple_id: "#{APP_STORE_CONNECT_APPLE_ID}",
app_identifier: "#{APP_STORE_CONNECT_BUNDLE_IDENTIFIER}",
Expand Down

0 comments on commit 17a4544

Please sign in to comment.