Skip to content

Commit 1d89f86

Browse files
committed
fix: use absolute path for xcconfig file in Fastlane
1 parent bb6977e commit 1d89f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ platform :ios do
5555

5656
# Get the latest TestFlight build number and increment
5757
# Read current build number from xcconfig
58-
xcconfig_path = "V2er/Config/Version.xcconfig"
58+
xcconfig_path = File.expand_path("../V2er/Config/Version.xcconfig", __FILE__)
5959
xcconfig_content = File.read(xcconfig_path)
6060
current_build_number = xcconfig_content.match(/CURRENT_PROJECT_VERSION = (\d+)/)[1].to_i
6161

0 commit comments

Comments
 (0)