Fix secret extraction
This commit is contained in:
parent
901f8a2d8a
commit
ae35b548e5
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue