Fix secret extraction

This commit is contained in:
Victor Shabanov 2018-10-23 12:08:02 +03:00
parent 901f8a2d8a
commit ae35b548e5
1 changed files with 1 additions and 3 deletions

View File

@ -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}")