chore(release): convert release notes with pandoc
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ echo "Latest version: $LATEST_RELEASE"
|
||||
echo "Setting latest flag to: $LATEST_FLAG"
|
||||
|
||||
# Generate release notes
|
||||
RELEASE_NOTES=$(reno report 2>/dev/null | uv run --isolated --with rst-to-myst rst2myst stream --no-sphinx - | egrep -v '^(%|\(release-notes|# Release Notes)' | awk '/^## /{if(count==1) exit; if(count==0) {count++; next}} count==1')
|
||||
RELEASE_NOTES=$(reno report --no-show-source 2>/dev/null | pandoc -f rst -t gfm --wrap=none | grep -Ev '^(%|\(release-notes|# Release Notes)' | awk '/^## /{if(count==1) exit; if(count==0) {count++; next}} count==1')
|
||||
|
||||
# Show release notes to user
|
||||
echo "====================== RELEASE NOTES ======================"
|
||||
|
||||
Reference in new issue
Block a user