From a4dfcc51bd27a0602695f43fe7a91f71d5154095 Mon Sep 17 00:00:00 2001 From: Drew Smirnoff Date: Thu, 9 Apr 2026 14:59:03 +0400 Subject: [PATCH] fix: snap version being nightlyv0 in stable (#480) --- snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" .