Skip to content

Commit dc34912

Browse files
committed
fix(release): improve changelog generation and add debug information
1 parent 18ca53e commit dc34912

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,14 @@ jobs:
243243
id: release_body
244244
run: |
245245
VERSION="${{ needs.prepare.outputs.version }}"
246-
CHANGES=$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s")
246+
echo "Debug: Listing tags"
247+
git tag -l
248+
echo "Debug: Getting latest tag"
249+
git describe --tags --abbrev=0 || echo "No tags found"
250+
echo "Debug: Generating changelog"
251+
CHANGES=$(git log "$(git describe --tags --abbrev=0 2>/dev/null || echo HEAD^)" HEAD --pretty=format:"- %s" || echo "No changelog available")
252+
echo "Debug: Changelog content:"
253+
echo "$CHANGES"
247254
248255
# Calculate hashes with corrected paths
249256
WINDOWS_ARM_HASH=$(sha256sum "artifacts/windows-arm64-binaries/Qopy-${VERSION}_arm64.msi" | awk '{ print $1 }')

0 commit comments

Comments
 (0)