minor: Add full changelog to release

This commit is contained in:
MexIT 2024-12-20 22:27:52 +01:00
parent 3c7192f3fb
commit 9e5aa61e5a

View file

@ -66,8 +66,10 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
git config --global --add safe.directory .
echo -e "Changelog\n---------" > changelog.txt
echo "### Main changes:" > changelog.txt
git log --reverse --pretty=format:"- %h: %s" $(git describe --tags --abbrev=0 HEAD^)..HEAD | egrep -v 'fix:|minor:|typo:' >> changelog.txt
commits="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/compare/$(git tag --sort=-v:refname | sed -n 2p)...$(git tag --sort=-v:refname | sed -n 1p)"
echo -e "<br>\n\n**Full Changelog**: $commits" >> changelog.txt
gh release create ${{ github.ref_name }} \
--verify-tag \