Skip to content

Commit

Permalink
chore(actions): fix invalid format
Browse files Browse the repository at this point in the history
  • Loading branch information
0PandaDEV committed Nov 25, 2024
1 parent 9162033 commit 3195cd8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,13 @@ jobs:
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 <<EOF
RELEASE_BODY=$(cat <<-EOF
## ♻️ Changelog
$CHANGES
⬇️ Downloads
- [Windows (x64)](https://github.com/${{ github.repository }}/releases/download/v$VERSION/Qopy-$VERSION_x64.msi) - $WINDOWS_64_HASH
- [Windows (ARM64)](https://github.com/${{ github.repository }}/releases/download/v$VERSION/Qopy-$VERSION_arm64.msi) - $WINDOWS_ARM_HASH
- [macOS (Silicon)](https://github.com/${{ github.repository }}/releases/download/v$VERSION/Qopy-$VERSION_silicon.dmg) - $MAC_SILICON_HASH
Expand All @@ -269,9 +269,10 @@ jobs:
- [AppImage](https://github.com/${{ github.repository }}/releases/download/v$VERSION/Qopy-$VERSION_amd64.AppImage) - $APPIMAGE_HASH
- [Red Hat](https://github.com/${{ github.repository }}/releases/download/v$VERSION/Qopy-$VERSION_amd64.rpm) - $REDHAT_HASH
EOF
)
echo "RELEASE_BODY=$RELEASE_BODY" >> $GITHUB_ENV
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
echo "$RELEASE_BODY" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Create Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 3195cd8

Please sign in to comment.