diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 0d02e9a..207de83 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -27,9 +27,7 @@ after_all do |lane, options| appName = options[:appName] || $appName token = sh("cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $4}' | tr -d '\n'") - - extractSecret = "cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $5}' | sed 's/..$//' | tr -d '\n'" - secret = sh("printf '$(#{extractSecret})'") + secret = sh("printf `cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $5}' | sed 's/..$//' | tr -d '\n'`") releaseNotesFile = "release-notes.txt" sh("touch ../#{releaseNotesFile}")