I'm using electron-builder to package an app for Windows/MacOS & trying to configure auto-update with the electron-publisher-s3 package.
The default naming for the published Windows artifact is ${productName}_Setup_${version}.${ext}
, or foo_Setup_1.0.0.exe
This means that the download link, dl.example.com/win/foo_Setup_1.0.0.exe
will change each update.
My first guess is to just remove dynamic variables from the artifact naming pattern, but I'm assuming the version # is there for a reason & don't want to break anything.
Is there a way to manage a stable download link, like dl.example.com/win/latest
, dl.example.com/win/beta
, etc. ?