Closed gran33 closed 8 years ago
Since the Deliverfile
is just a Ruby file, you can use https://stackoverflow.com/questions/2060253/how-to-do-a-newline-in-output :+1:
If will help to someone, I'm using shell script
a.k.a bash
language to my build and deploy stuff.
So I m using sed
for replace patterns but I m escaping some special characters, I'm doing it like this:
local valueWithEscaping=$(echo "${originalValue}" | sed -e 's/[]\/$*.^|[]/\\&/g')
sed -i "s|__VALUE_TO_REPLACE__|${valueWithEscaping}|g;" <input_file>
The -i
is for in place replace.
This issue was migrated to https://github.com/fastlane/fastlane/issues/1521. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket:
Hi, I have a
Deliverfile
with description in it, the description includenewline
characters.Fastlane
/iTunes
refuse to handle thisnewline
characters.How can I escaping
newline
characters in the description section in theDeliverfile
?Example: description({ "en-US" => "I'm an awesome app! U should download me NOW" })