sparkle-project / Sparkle

A software update framework for macOS
https://sparkle-project.org
Other
7.37k stars 1.05k forks source link

Add XML Channel tag automatically? #2428

Closed soundflix closed 1 year ago

soundflix commented 1 year ago

I use generate_appcast to produce my appcast XML files. I like to have multiple .zip files in my folder, to get different items e.g. an older deployment target or beta channel.

With older deployment targets it works, the items are automatically marked with a correct <sparkle:minimumSystemVersion> tag.

With beta channel, I have to add the <sparkle:channel>beta</sparkle:channel> manually. I'd like to have a way to add this tag automatically. The condition could be e.g. title tag is something like <title>0.1.5 beta</title>. Does generate_appcast have an option for this?

I probably could manipulate the XML with grep/sed/... but I'm bad at this and would prefer a generic solution.