Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: properly emit update metadata for intel macs #446

Mergednmggithub(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/446/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 4 changed files with 118 additions and 0 deletions (loading 1).

x
0 of 4 viewed, 4 left
7 additions and 0 deletions.github/workflows/release.ymlModified
View file
@@ -262,6 +262,13 @@
merge-multiple: true
path: release-assets
​
+ - name: Merge macOS updater manifests
+ run: |
+ node scripts/merge-mac-update-manifests.ts \
+ release-assets/latest-mac.yml \
+ release-assets/latest-mac-x64.yml
+ rm -f release-assets/latest-mac-x64.yml
+​
- name: Publish release
uses: softprops/action-gh-release@v2
with:
3 additions and 0 deletionsdocs/release.mdModified
View file
@@ -36,6 +36,9 @@
- platform installers (`.exe`, `.dmg`, `.AppImage`, plus macOS `.zip` for Squirrel.Mac update payloads)
- `latest*.yml` metadata
- `*.blockmap` files (used for differential downloads)
+- macOS metadata note:
+ - `electron-updater` reads `latest-mac.yml` for both Intel and Apple Silicon.
+ - The workflow merges the per-arch mac manifests into one `latest-mac.yml` before publishing the GitHub Release.
​
## 0) npm OIDC trusted publishing setup (CLI)
​