From dc34912895a3218cadee91567e6d59a54c9d9444 Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Wed, 25 Dec 2024 21:16:23 +1000 Subject: [PATCH] fix(release): improve changelog generation and add debug information --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21b6882..5b6ecf8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -243,7 +243,14 @@ jobs: id: release_body run: | VERSION="${{ needs.prepare.outputs.version }}" - CHANGES=$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s") + echo "Debug: Listing tags" + git tag -l + echo "Debug: Getting latest tag" + git describe --tags --abbrev=0 || echo "No tags found" + echo "Debug: Generating changelog" + CHANGES=$(git log "$(git describe --tags --abbrev=0 2>/dev/null || echo HEAD^)" HEAD --pretty=format:"- %s" || echo "No changelog available") + echo "Debug: Changelog content:" + echo "$CHANGES" # Calculate hashes with corrected paths WINDOWS_ARM_HASH=$(sha256sum "artifacts/windows-arm64-binaries/Qopy-${VERSION}_arm64.msi" | awk '{ print $1 }')