diff --git a/.github/workflows/buildAndDeploy.yml b/.github/workflows/buildAndDeploy.yml index bd4fc4391e..01a86dfa57 100644 --- a/.github/workflows/buildAndDeploy.yml +++ b/.github/workflows/buildAndDeploy.yml @@ -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/