diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 66b5bc5c..19e66135 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -26,7 +26,7 @@ parts: override-pull: | snapcraftctl pull version="$(git describe --always | sed -e 's/^v//;s/-/+git/;y/-/./;y/_/-/;')" - [ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stablectl pull + [ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable snapcraftctl set-version "$version" snapcraftctl set-grade "$grade" plugin: cmake