Skip to content

Commit

Permalink
Fix: change sign_enabled name
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecor9 authored Aug 2, 2023
1 parent f5c3dd7 commit f0d25c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platform :android do
" * **`env`**: Sets the env. It sets the flavour and the dart env. " +
"The executed command is `build apk --flavor env --dart-define=ENV=env --debug`"
lane :build_apk do |options|
build_flutter(options.merge(build_platform: 'apk', sign_enabled: true))
build_flutter(options.merge(build_platform: 'apk'))
end

desc "**Generates a release app bundle build**"
Expand All @@ -19,7 +19,6 @@ platform :android do
build_platform: 'appbundle',
build_type: 'release',
flavor: options[:env],
sign_enabled: true,
)
end

Expand All @@ -28,7 +27,6 @@ platform :android do
build_flutter(
build_platform: 'apk',
build_type: 'debug',
sign_enabled: true,
)
end

Expand Down
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ lane :build_flutter do |options|
build_type = "--#{build_type}"
end

sign_enabled = options[:sign_enabled] || false
sign_param = sign_enabled ? '' : '--no-codesign'
sign_disabled = options[:sign_disabled] || false
sign_param = sign_disabled ? '--no-codesign' : ''

build_platform = options[:build_platform]

Expand Down
1 change: 0 additions & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ platform :ios do
flavor: env,
include_git_version_suffix: true,
export_method: build_export_method,
sign_enabled: true,
)

app_identifier = options[:env] == DEV_ENV ? DEV_BUNDLE_ID : PROD_BUNDLE_ID
Expand Down

0 comments on commit f0d25c2

Please sign in to comment.