Skip to content

Commit ed18926

Browse files
authored
build: Changelog
1 parent e8ac5c3 commit ed18926

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
name: Get previous tag
3535
id: previousTag
3636
run: |
37-
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
37+
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -1)
3838
echo "previousTag: $name"
3939
echo "previousTag=$name" >> $GITHUB_ENV
4040
-
@@ -46,6 +46,9 @@ jobs:
4646
fromTag: ${{ github.ref_name }}
4747
toTag: ${{ env.previousTag }}
4848
writeToFile: false
49+
reverseOrder: true
50+
includeInvalidCommits: true
51+
excludeTypes: "docs,build,chore"
4952
-
5053
name: Create a release
5154
uses: action-pack/github-release@master
@@ -55,8 +58,6 @@ jobs:
5558
tag: "v${{ vars.MAJOR }}.${{ vars.MINOR }}"
5659
title: "v${{ vars.MAJOR }}.${{ vars.MINOR }}"
5760
body: |
58-
## Changelog :eyes:
59-
6061
${{ steps.changelog.outputs.changes }}
6162
6263
**Full Changelog**: https://github.com/${{ github.repository }}/compare//${{ env.previousTag }}...v${{ vars.MAJOR }}.${{ vars.MINOR }}

0 commit comments

Comments
 (0)