From 2cfbf15393946c6df74e39bd62de4a9b7e798949 Mon Sep 17 00:00:00 2001 From: Drew Smirnoff Date: Wed, 8 Apr 2026 13:59:51 +0400 Subject: [PATCH] ci: change snapcraft build instructions (error) (#469) --- snapcraft.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 9daf0770b949bbcc169874d74754838fe0921076..4763f432d9acca06c644dfd719cec6e8308011b7 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -23,7 +23,7 @@ apps: parts: matcha: - plugin: go + plugin: nil source: . build-snaps: - go/1.26/stable @@ -34,7 +34,10 @@ parts: - pkg-config build-environment: - CGO_ENABLED: "1" + - GOBIN: "" override-pull: | craftctl default version="$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo 0.1)" craftctl set version="$version" + override-build: | + go build -o "${CRAFT_PART_INSTALL}/bin/matcha" .