From eb20e8bc10572aab486b7ce3108da30353eaba1f Mon Sep 17 00:00:00 2001 From: Ashish Kumar Date: Wed, 24 Jul 2024 21:24:17 +0200 Subject: [PATCH] Fix --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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