From 6009aa153e869bca6f7010b2ce12f2143379b606 Mon Sep 17 00:00:00 2001 From: Kalle Date: Tue, 19 Nov 2024 13:13:29 +0100 Subject: [PATCH] fix: show all commits on release --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 853d7a1..0afdef9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,8 @@ jobs: if: env.new_version == 'true' id: get_release_notes run: | - release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $(git describe --tags --abbrev=0)..HEAD) + last_tag=$(git describe --tags --abbrev=0 HEAD^) + release_notes=$(git log --pretty=format:"[%h](https://github.com/${{ github.repository }}/commit/%H) - %s (%an)" $last_tag..HEAD) echo "release_notes=$release_notes" >> $GITHUB_ENV - name: Add Release on Github