mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
fix(release): improve changelog generation and add debug information
This commit is contained in:
parent
18ca53ef04
commit
dc34912895
1 changed files with 8 additions and 1 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -243,7 +243,14 @@ jobs:
|
||||||
id: release_body
|
id: release_body
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ needs.prepare.outputs.version }}"
|
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
|
# Calculate hashes with corrected paths
|
||||||
WINDOWS_ARM_HASH=$(sha256sum "artifacts/windows-arm64-binaries/Qopy-${VERSION}_arm64.msi" | awk '{ print $1 }')
|
WINDOWS_ARM_HASH=$(sha256sum "artifacts/windows-arm64-binaries/Qopy-${VERSION}_arm64.msi" | awk '{ print $1 }')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue