Skip to content

Commit 936f8e6

Browse files
Revert "Use global variables for methods outside lanes."
This reverts commit 883e88a.
1 parent 883e88a commit 936f8e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ default_platform(:ios)
1919

2020
workspace_name = "MailchimpSDK.xcworkspace"
2121
sdk_scheme_name = "MailchimpSDK"
22-
sdk_project_path = "MailchimpSDK/MailchimpSDK.xcodeproj"
2322
build_path = "../build"
2423
deploy_path = "../deploy"
2524
device_archive_path = "#{build_path}/MailchimpDeviceSDK.xcarchive"
@@ -110,9 +109,9 @@ end
110109

111110
def output_path
112111
# Use Bitrise Deploy Directory as output path if available
113-
return ENV.fetch('BITRISE_DEPLOY_DIR', $build_path)
112+
return ENV.fetch('BITRISE_DEPLOY_DIR', "../build")
114113
end
115114

116115
def marketing_version
117-
get_version_number(xcodeproj: $sdk_project_path)
116+
get_version_number(xcodeproj: "MailchimpSDK/MailchimpSDK.xcodeproj")
118117
end

0 commit comments

Comments
 (0)