Try to fix multiline release notes output

This commit is contained in:
Pierre Jacquier
2024-12-05 06:46:05 -05:00
parent 7950d8fdff
commit d41ddfd195
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
echo "## What's Changed"
git log ${PREVIOUS_TAG}..HEAD --oneline --pretty=format:%s | grep -v Bump | awk '{print "- "toupper(substr($0,0,1))substr($0,2)}'
git log ${PREVIOUS_TAG}..HEAD --oneline --pretty=format:%s | grep -v Bump | awk '{print "* "toupper(substr($0,0,1))substr($0,2)}'
echo ""
echo "Full Changelog: https://github.com/KittyCAD/modeling-app/compare/${PREVIOUS_TAG}...${TAG}"
echo "**Full Changelog**: https://github.com/KittyCAD/modeling-app/compare/${PREVIOUS_TAG}...${TAG}"