set version in snapcraft yaml

pull/27053/head^2
techknowlogick 1 year ago committed by GitHub
parent da50be7360
commit b32998b3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      snap/snapcraft.yaml

@ -62,7 +62,7 @@ parts:
version="$(git describe --always | sed -e 's/-/+git/;y/-/./')"
[ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable
craftctl set version "$version"
craftctl set version="$version"
craftctl set grade="$grade"
override-build: |

Loading…
Cancel
Save