fix: update DMG naming convention to include version and platform information

This commit is contained in:
Bohdan Triapitsyn
2025-12-30 01:35:31 +02:00
parent 9232599b3c
commit b331a31414
+1 -2
View File
@@ -184,8 +184,7 @@ jobs:
DMG_PATH="packages/desktop/src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg"
if ls $DMG_PATH 1> /dev/null 2>&1; then
DMG_FILE=$(ls $DMG_PATH | head -n 1)
DMG_BASE=$(basename "$DMG_FILE")
DMG_NAME="${DMG_BASE%.dmg}-${{ matrix.platform }}.dmg"
DMG_NAME="OpenChamber_${VERSION}_${{ matrix.platform }}.dmg"
cp "$DMG_FILE" "artifacts/$DMG_NAME"
else
echo "Error: DMG file not found at $DMG_PATH"