Skip to content

Commit 22e4d91

Browse files
beautyfreeclaude
andcommitted
ci: upload order so .dmg/.exe/.AppImage land on top of release page
GitHub Releases shows assets in reverse upload order. Previously we uploaded installers first and the electron-updater plumbing (.zip, latest-*.yml, .blockmap) last, so the auto-update .zip ended up at the top of the asset list and the .dmg humans actually want was buried. Flip the upload order. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ee28ff4 commit 22e4d91

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,20 @@ jobs:
158158
with:
159159
tag_name: ${{ github.ref_name }}
160160
draft: true
161+
# GitHub Releases shows assets in reverse upload order (newest on
162+
# top). Upload the auto-updater plumbing (yml, blockmap, zip) FIRST
163+
# and the human-facing installers LAST so the download list leads
164+
# with .dmg / .exe / .AppImage instead of the .zip that
165+
# electron-updater needs but end users should ignore.
161166
files: |
162-
artifacts/*.dmg
163-
artifacts/*.zip
164-
artifacts/*.exe
165-
artifacts/*.AppImage
166-
artifacts/*.deb
167-
artifacts/*.tar.xz
168167
artifacts/*.yml
169168
artifacts/*.blockmap
169+
artifacts/*.zip
170+
artifacts/*.tar.xz
171+
artifacts/*.deb
172+
artifacts/*.AppImage
173+
artifacts/*.exe
174+
artifacts/*.dmg
170175
fail_on_unmatched_files: false
171176
env:
172177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)