electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.68k stars 1.74k forks source link

Mac build for both x64 and arm64 leads to duplicates in yaml file #8039

Open MuhKuh7 opened 9 months ago

MuhKuh7 commented 9 months ago

I am running electron-builder --mac --x64 --arm64 --publish never to simultaneously build x64 and arm64. The resulting yaml files however somehow list the arm64 version 3 times.

Resulting latest-mac.yml

version: 1.7.0
files:
  - url: MyApp-1.7.0.dmg
    sha512: fcc+w/bEp3j2JIQqfl/+S7JpJGwm+5kgdYpQfAImK22yGGhX/ubvoeJimYIGywMOvc/6o7HuCM6C9TAuPiUIGQ==
    size: 207777121
  - url: MyApp-1.7.0-arm64.dmg
    sha512: CCVENWspW5Kef/x5ul2yzHoTtTdkLr+qJbeL1qZPnfPeQxS+xo62KVOLm78z6hwXKt6QNSu6WLRmJDVPMwTGmQ==
    size: 202708519
  - url: MyApp-1.7.0-arm64.dmg
    sha512: CCVENWspW5Kef/x5ul2yzHoTtTdkLr+qJbeL1qZPnfPeQxS+xo62KVOLm78z6hwXKt6QNSu6WLRmJDVPMwTGmQ==
    size: 202708519
  - url: MyApp-1.7.0-arm64.dmg
    sha512: CCVENWspW5Kef/x5ul2yzHoTtTdkLr+qJbeL1qZPnfPeQxS+xo62KVOLm78z6hwXKt6QNSu6WLRmJDVPMwTGmQ==
    size: 202708519
path: MyApp-1.7.0.dmg
sha512: fcc+w/bEp3j2JIQqfl/+S7JpJGwm+5kgdYpQfAImK22yGGhX/ubvoeJimYIGywMOvc/6o7HuCM6C9TAuPiUIGQ==
releaseDate: '2024-02-07T19:55:42.847Z'
github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

esimkowitz commented 1 month ago

I am also seeing this. It doesn't appear to affect anything, but it is certainly weird