diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c4836b..faa518a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -231,16 +231,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Download all artifacts uses: actions/download-artifact@v4 with: path: artifacts + - name: Generate Release Body id: release_body run: | VERSION=${{ needs.prepare.outputs.version }} CHANGES=$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s") - + # Calculate SHA256 hashes for each artifact WINDOWS_ARM_HASH=$(sha256sum artifacts/windows-arm64-binaries/Qopy-$VERSION_arm64.msi | awk '{ print $1 }') WINDOWS_64_HASH=$(sha256sum artifacts/windows-x64-binaries/Qopy-$VERSION_x64.msi | awk '{ print $1 }') @@ -249,22 +253,26 @@ jobs: DEBIAN_HASH=$(sha256sum artifacts/linux-binaries/Qopy-$VERSION_amd64.deb | awk '{ print $1 }') APPIMAGE_HASH=$(sha256sum artifacts/linux-binaries/Qopy-$VERSION_amd64.AppImage | awk '{ print $1 }') REDHAT_HASH=$(sha256sum artifacts/linux-binaries/Qopy-$VERSION_amd64.rpm | awk '{ print $1 }') - + + RELEASE_BODY=$(cat <> $GITHUB_ENV + - name: Create Release uses: softprops/action-gh-release@v2 env: