tauri-action icon indicating copy to clipboard operation
tauri-action copied to clipboard

Support for generating latest.json with .deb autoupdate

Open hrzlgnm opened this issue 8 months ago • 1 comments

Since https://github.com/tauri-apps/plugins-workspace/pull/1991 is implemented I thought about adding support for .deb auto updates. But the only auto update provided for the platform linux by tauri-action is to generate a latest.json containing an auto update for the bundle type AppImage.

I fiddled around in a fork a bit, where I've added .deb.sig artifact gathering, but that actually lead to overwriting the AppImage entry in latest.json if both bundles AppImage and deb are enabled. I guess the static format for updates does not support having multiple bundles types for the same plafrom am architecture. As the platforms object can only contain one key per platform and arch, I guess one cannot provide auto updates for multiple bundle types AppImage and deb (and perhaps rpm in the future) at the same time.

According to https://v2.tauri.app/plugin/updater/, the endpoint with dynamic variables also only supports a separation by {{target}} and {{arch}} but no bundle type.

Are there any plans to support having multiple bundle types for one platform for the update plugin?

hrzlgnm avatar Mar 31 '25 17:03 hrzlgnm

this is the relevant tracking issue: https://github.com/tauri-apps/plugins-workspace/issues/2277 - there were some promising progress reports on discord so i assume it'll be implemented relatively soon. Then we can worry about tauri-action.

FabianLars avatar Mar 31 '25 18:03 FabianLars