mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Fixed release notes for new versions
This commit is contained in:
parent
3c595c8952
commit
0dcc15ccc3
2
.github/workflows/buildAndDeploy.yml
vendored
2
.github/workflows/buildAndDeploy.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
shell: bash
|
||||
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=$(grep -Pzo '\#{2}.${{ github.ref_name }}[^\#]*\#' changelog.md) # grep to get only our release
|
||||
r=$(echo "$r" | head -n -2 | tail -n +3)
|
||||
|
||||
## See https://trstringer.com/github-actions-multiline-strings/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user