mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07:00
4.8.5
Replace double quotes with single ones, so the android deploy works
This commit is contained in:
parent
0be6cd062f
commit
fe18a22cf7
3
.github/workflows/buildAndDeploy.yml
vendored
3
.github/workflows/buildAndDeploy.yml
vendored
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user