fix: update DMG naming convention to include version and platform information
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user