Skip to content

Commit

Permalink
Revert "Use global variables for methods outside lanes."
Browse files Browse the repository at this point in the history
This reverts commit 883e88a.
  • Loading branch information
michael-patzer committed Mar 19, 2020
1 parent 883e88a commit 936f8e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ default_platform(:ios)

workspace_name = "MailchimpSDK.xcworkspace"
sdk_scheme_name = "MailchimpSDK"
sdk_project_path = "MailchimpSDK/MailchimpSDK.xcodeproj"
build_path = "../build"
deploy_path = "../deploy"
device_archive_path = "#{build_path}/MailchimpDeviceSDK.xcarchive"
Expand Down Expand Up @@ -110,9 +109,9 @@ end

def output_path
# Use Bitrise Deploy Directory as output path if available
return ENV.fetch('BITRISE_DEPLOY_DIR', $build_path)
return ENV.fetch('BITRISE_DEPLOY_DIR', "../build")
end

def marketing_version
get_version_number(xcodeproj: $sdk_project_path)
get_version_number(xcodeproj: "MailchimpSDK/MailchimpSDK.xcodeproj")
end

0 comments on commit 936f8e6

Please sign in to comment.