From 86ab1026b87b6dc6f19fec241e5e2b8603626d80 Mon Sep 17 00:00:00 2001 From: Alexey Gerasimov Date: Tue, 23 Oct 2018 20:01:13 +0300 Subject: [PATCH] Finally it works --- xcode/commonFastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 207de83..ab0695b 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -26,8 +26,8 @@ after_all do |lane, options| if options[:uploadToFabric] appName = options[:appName] || $appName - token = sh("cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $4}' | tr -d '\n'") - secret = sh("printf `cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $5}' | sed 's/..$//' | tr -d '\n'`") + token = sh("cat ../#{appName}.xcodeproj/project.pbxproj | grep 'Fabric/run' | awk '{print $4}' | tr -d '\\n'") + 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}")