Skip to content

Commit b42de2e

Browse files
Dchuong03claude
andcommitted
ci: add fixed-name DMG upload for stable download URLs
Release workflow now uploads SidStack_aarch64.dmg and SidStack_x64.dmg (without version in filename) so /latest/download/ URLs never break. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 49f867e commit b42de2e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,16 @@ jobs:
5555
releaseDraft: true
5656
prerelease: false
5757
args: --target ${{ matrix.target }}
58+
59+
- name: Upload fixed-name DMG
60+
run: |
61+
DMG_FILE=$(find src-tauri/target/${{ matrix.target }}/release/bundle/dmg -name "*.dmg" | head -1)
62+
if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
63+
FIXED_NAME="SidStack_aarch64.dmg"
64+
else
65+
FIXED_NAME="SidStack_x64.dmg"
66+
fi
67+
cp "$DMG_FILE" "$FIXED_NAME"
68+
gh release upload "${{ github.ref_name }}" "$FIXED_NAME" --clobber
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)