From 9162033b655bcb3ba47a5d0f14ce4312e18dc325 Mon Sep 17 00:00:00 2001 From: PandaDEV <70103896+0PandaDEV@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:23:36 +1000 Subject: [PATCH] chore(actions): fix command not found --- .github/workflows/release.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) 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: