Version with revision


I want to add revision number to version parameter in snapcraft.yaml. Is is possible to do it automatically ?

Best Regards

There’s already a revision number the store assigns for each upload. This isn’t and shouldn’t be part of the snap’s version.

In case you mean something else, what stops you from adding it to the version property by hand or setting it via craftctl set version/snapcraftctl set-version (