From 9e5aa61e5a03e1e61e4c16c7e220f6336f3e670f Mon Sep 17 00:00:00 2001 From: MexIT Date: Fri, 20 Dec 2024 22:27:52 +0100 Subject: [PATCH] minor: Add full changelog to release --- .github/workflows/build_iso.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_iso.yml b/.github/workflows/build_iso.yml index d6337e5..806b238 100644 --- a/.github/workflows/build_iso.yml +++ b/.github/workflows/build_iso.yml @@ -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 "
\n\n**Full Changelog**: $commits" >> changelog.txt gh release create ${{ github.ref_name }} \ --verify-tag \