Howabout now

This commit is contained in:
Yair Morgenstern 2021-07-02 13:36:48 +03:00 committed by GitHub
parent 2121f07c93
commit 5eadd43eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ jobs:
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[^a].' changelog.md) # grep to get only our release
grep -P '\#{2}.3.15.7[^a]' 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'