mirror of
https://github.com/yairm210/Unciv.git
synced 2025-10-03 08:56:17 -04:00
With -P, single unescape
This commit is contained in:
parent
6bb22ccfb9
commit
e8ae6a6b70
2
.github/workflows/buildAndDeploy.yml
vendored
2
.github/workflows/buildAndDeploy.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
|||||||
id: read_release
|
id: read_release
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
r=$(grep '\\#{2}.3.15.7' changelog.md) # grep to get only our release
|
r=$(grep -P '\#{2}.3.15.7' changelog.md) # grep to get only our release
|
||||||
echo "$r"
|
echo "$r"
|
||||||
r="${r//'%'/'%25'}" # Multiline escape sequences for %
|
r="${r//'%'/'%25'}" # Multiline escape sequences for %
|
||||||
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
|
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user