Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krashish8 committed Jul 24, 2024
1 parent 4e7d10e commit eb20e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb20e8b

Please sign in to comment.