diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c806e779..c54de20bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,10 +157,10 @@ jobs: tar -zcvf doc-v${PROJECT_VERSION}-en.tar.gz doc-v${PROJECT_VERSION}-en cd ../.. - grep -Pzo "(?s)v${PROJECT_VERSION//./\\.} Release Notes.*?(?=v.\..\.. Release Notes)" NEWS | tr '\0' '\n' > release_body.txt + grep -Pzo "(?s)v${PROJECT_VERSION//./\\.} Release Notes.*?(?=v.\..\.. Release Notes)" NEWS.md | tr '\0' '\n' > release_body.txt # Only executed during the first release - grep -q '[^[:space:]]' < release_body.txt || cp NEWS release_body.txt + grep -q '[^[:space:]]' < release_body.txt || cp NEWS.md release_body.txt echo >> release_body.txt echo "**Attachments**" >> release_body.txt