fix(ci/cd): Trying to fix generation of homebrew formula, added debug statements (#770)

This commit is contained in:
Rithvik Ballari 2025-11-28 00:38:19 +05:30 committed by GitHub
parent 9fc0841ecf
commit f43c03877a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,12 +217,18 @@ jobs:
VERSION="${{ github.event.release.tag_name }}"
# Download the DMG files
echo "Creating download directory /tmp/dmgs ..."
mkdir -p /tmp/dmgs
echo "Downloading all *.dmg assets from release $VERSION ..."
gh release download "$VERSION" --pattern "*.dmg" --dir /tmp/dmgs
echo "Download complete. Contents of /tmp/dmgs:"
ls -la /tmp/dmgs
# Calculate SHA256 checksums
AARCH64_DMG=/tmp/dmgs/*_aarch64_darwin.dmg
X64_DMG=/tmp/dmgs/*_x64_darwin.dmg
AARCH64_DMG=/tmp/dmgs/*_aarch64.dmg
X64_DMG=/tmp/dmgs/*_x64.dmg
AARCH64_SHA256=$(sha256sum "$AARCH64_DMG" | awk '{print $1}')
X64_SHA256=$(sha256sum "$X64_DMG" | awk '{print $1}')