diff --git a/build/release.sh b/build/release.sh index 8ff6a606..6f3b9117 100755 --- a/build/release.sh +++ b/build/release.sh @@ -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 ======================" diff --git a/flake.nix b/flake.nix index c6367c05..589cfac6 100644 --- a/flake.nix +++ b/flake.nix @@ -77,6 +77,7 @@ go jsonnet-bundler kubernetes-helm + pandoc patchutils pre-commit python312Packages.tox