diff --git a/snapcraft.yaml b/snapcraft.yaml index 4763f432d9acca06c644dfd719cec6e8308011b7..4e7cbc0ce10afd7df5394bb5b08ba87f1b99357b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -37,7 +37,7 @@ parts: - GOBIN: "" override-pull: | craftctl default - version="$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo 0.1)" + version="$(git describe --tags --abbrev=0 --exclude='nightlyv*' 2>/dev/null | sed 's/^v//' || echo 0.1)" craftctl set version="$version" override-build: | go build -o "${CRAFT_PART_INSTALL}/bin/matcha" .