Replace double quotes with single ones, so the android deploy works
This commit is contained in:
Yair Morgenstern 2023-09-13 12:04:11 +03:00
parent 0be6cd062f
commit fe18a22cf7

View File

@ -29,7 +29,8 @@ jobs:
run: |
## To test this in Windows PS: cat .\changelog.md | wsl grep -Pzo --color '\\#{2}.3.15.7[^\\#]*?\\#{2}' | wsl head -n -2
r=$(grep -Pzo '\#{2}.${{ github.ref_name }}[^\#]*\#' changelog.md) # grep to get only our release
r=$(echo "$r" | head -n -2 | tail -n +3)
# We replace all quotes in the readme with single quotes, so the whatsnew directory echo doesn't crash us
r=$(echo "$r" | tr '"' "'" | head -n -2 | tail -n +3)
## See https://trstringer.com/github-actions-multiline-strings/