megahertz / electron-simple-publisher

Simple way to publish releases for electron-simple-updater
MIT License
66 stars 25 forks source link

Publishing from different OS #12

Closed sin6pi7 closed 7 years ago

sin6pi7 commented 7 years ago

Hello @megahertz, first of all - great repo! I am using CI servers to build and publish distributable electron packages to s3 from different operating systems (win, osx, linux). This process makes 3 different updates.json being uploaded to s3, which with current version of electron-simple-publisher will only keep the last uploaded one having overwritten previous ones, which in turn makes updates possible only for one OS. My current workaround for overriding is as follow:

It works, but it makes the process longer by copying files locally and more error-prone by requiring me to rewrite publishing to s3. Would it be possible for electron-simple-publisher to support such a case?

megahertz commented 7 years ago

Hi. You can use s3 transport and publish to the same bucket, updates.json will be merged automatically.