From b30b2c9ccf26e8f6ef8f61b573464a86b8e99b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:03:31 +0200 Subject: [PATCH] Also add version linking to goreleaser --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2e41128..a3348ec 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,3 +24,5 @@ builds: - amd64 - 386 - riscv64 + ldflags: + - -X github.com/NETWAYS/check_system_basics/cmd.version={{.Version}}