snapcrafters / ci

Repository for shared CI tools and actions
https://github.com/snapcrafters/.github/wiki
MIT License
3 stars 7 forks source link

feat: enable building/promoting to tracks other than `latest` #28

Closed jnsgruk closed 10 months ago

jnsgruk commented 10 months ago

This is a first stab at making these workflows more channel agnostic.

Until this point, only latest/candidate and latest/stable were considered. In this commit, we formalise that as latest/candidate as the default in all places, which should be backwards compatible. We also introduce channel as an input in more places and thread it through where necessary.

I think this is all that is needed to ensure that snaps such as gimp can run multiple tracks/channels.