mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-28 21:58:54 +07:00
Worketh?!
This commit is contained in:
4
.github/workflows/buildAndDeploy.yml
vendored
4
.github/workflows/buildAndDeploy.yml
vendored
@ -75,12 +75,12 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
## To test this in Windows PS: cat .\changelog.md | wsl grep -Pzo --color '\\#{2}.3.15.7[^\\#]*?\\#{2}'
|
||||
grep -Pzo '\#{2}.3.15.7[^\#]*\#' changelog.md # grep to get only our release
|
||||
r=$(grep -Pzo '\#{2}.3.15.7[^\#]*\#' changelog.md) # grep to get only our release
|
||||
#echo "$r"
|
||||
#r="${r//'%'/'%25'}" # Multiline escape sequences for %
|
||||
#r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
|
||||
#r="${r//$'\r'/'%0D'}" # Multiline escape sequences for '\r'
|
||||
#echo "::set-output name=RELEASE_BODY::$r" # <--- Set environment variable
|
||||
echo "::set-output name=RELEASE_BODY::$r" # <--- Set environment variable
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user