mirror of
https://github.com/Mexit/AlpDock.git
synced 2025-04-26 07:49:52 +03:00
minor: Add full changelog to release
This commit is contained in:
parent
3c7192f3fb
commit
9e5aa61e5a
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build_iso.yml
vendored
4
.github/workflows/build_iso.yml
vendored
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue