Skip to content

Commit

Permalink
delete a couple nits in the geberated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
emptyrivers committed Oct 23, 2024
1 parent c8450fb commit 92facb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo -ne "# [${version}](${url}/tree/${current}) ($date)\n\n[Full Changelog](${u

if [ "$version" = "$tag" ]; then # on a tag
highlights=$( git cat-file -p "$tag" | sed -e '1,5d' -e '/^-----BEGIN PGP/,/^-----END PGP/d' )
echo -ne "## Highlights\n\n ${highlights} \n\n## Commits\n\n" >> "CHANGELOG.md"
echo -ne "## Highlights\n\n${highlights}\n\n## Commits\n\n" >> "CHANGELOG.md"
fi

git shortlog --no-merges --reverse "$previous..$current" | sed -e '/^\w/G' -e 's/^ /- /' >> "CHANGELOG.md"

0 comments on commit 92facb1

Please sign in to comment.