From 286f44b3b330ce84c82563d2e37bfa38b8f6f1aa Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sat, 30 Nov 2024 16:59:16 -0700 Subject: [PATCH] Try fixing build with version again --- snap/snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index da8eb1a..511a7cc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,10 +19,12 @@ parts: mdview: override-pull: | craftctl default - craftctl set VERSION=$(git describe --tags | sed 's/-.*//') + craftctl set version=$(git describe --tags | sed 's/-.*//') plugin: go source: . source-type: git + environment: + VERSION: $(git describe --tags | sed 's/-.*//') build-snaps: - go architectures: