Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 45 forks source link

Set snap grade according to version #596

Closed damonbarry closed 3 months ago

damonbarry commented 3 months ago

Snaps are currently built with grade=devel, which means they can't be promoted to the stable channel. We want dev builds (e.g., builds from main) to keep grade=devel so they can't accidentally be promoted, but we want release builds to be grade=stable. This change adds the logic to do that, and is patterned after similar logic in the azure-iot-edge snap.