Update buildAndDeploy.yml

read correct file
This commit is contained in:
Yair Morgenstern 2021-07-02 12:26:50 +03:00 committed by GitHub
parent 4d6942a6cb
commit 7322c1bbc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ jobs:
id: read_release
shell: bash
run: |
r=$(cat path/to/release.md) # <--- Read release.md (Provide correct path as per your repo)
r=$(cat changelog.md)
r=$(grep -Pzo --color '\\#{2}.3.15.7\([^\\#]*?\\#{2}\)') # grep to get only our release
echo "$r"
r="${r//'%'/'%25'}" # Multiline escape sequences for %