Okay we're getting somehwere. Grep with hashtag again.

This commit is contained in:
Yair Morgenstern 2021-07-02 13:25:09 +03:00 committed by GitHub
parent aa300419cf
commit aeef48c556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ jobs:
id: read_release id: read_release
shell: bash shell: bash
run: | run: |
r=$(grep 3.15.7 changelog.md) # grep to get only our release r=$(grep '\#{2}.3.15.7' changelog.md) # 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'