mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Maybe read directly from file?
This commit is contained in:
3
.github/workflows/buildAndDeploy.yml
vendored
3
.github/workflows/buildAndDeploy.yml
vendored
@ -74,8 +74,7 @@ jobs:
|
|||||||
id: read_release
|
id: read_release
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
r=$(cat changelog.md)
|
r=$(grep 3.15.7 changelog.md) # grep to get only our release
|
||||||
r=$(grep 3.15.7 $r) # 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'
|
||||||
|
Reference in New Issue
Block a user