Too soon...

This commit is contained in:
Yair Morgenstern 2021-07-02 13:31:35 +03:00 committed by GitHub
parent dac4b6ccae
commit 3193ba4a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,7 @@ jobs:
id: read_release
shell: bash
run: |
## To test this in Windows PS: cat .\changelog.md | wsl grep -Pzo --color '\\#{2}.3.15.7[^\\#]*?\\#{2}'
r=$(grep -P '\#{2}.3.15.7[^\#]*?\#{2}' 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"
r="${r//'%'/'%25'}" # Multiline escape sequences for %
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'