Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[steps] [ENG-14373] Fix multiline slack messages with env vars (#478)
* [steps] Use quotes on env var value Added quotes around the env var value when saving it into the file. The reason for it is that if you set the env value to something like "line 1 line 2 line 3" without the quotes it would remove the implicit new-line characters and save it as 1 line See: https://linear.app/expo/issue/ENG-14373/fix-multiline-slack-message-from-env-vars * [steps] Add util function Added an util function to replace the doubly backslashed escape character in the raw env value with actual escape characters See: https://linear.app/expo/issue/ENG-14373/fix-multiline-slack-message-from-env-vars * [steps] Fix escape chars Used the previously added function to fix the escape characters when reading the raw env value from the file and updating the context See: https://linear.app/expo/issue/ENG-14373/fix-multiline-slack-message-from-env-vars
- Loading branch information