From 19813c92c5a982dd7653ee2d9239fdc456ffc643 Mon Sep 17 00:00:00 2001 From: Eti Ijeoma Date: Fri, 11 Oct 2024 12:35:51 +0100 Subject: [PATCH] test the build and release workflow Signed-off-by: Eti Ijeoma --- .github/.goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/.goreleaser.yml b/.github/.goreleaser.yml index 4a9d0f511f..1f4c1c2ef7 100644 --- a/.github/.goreleaser.yml +++ b/.github/.goreleaser.yml @@ -12,6 +12,7 @@ builds: ldflags: - -s -w + - -X main.version={{ .Version }} - -X main.providerToken={{.Env.PROVIDER_TOKEN}} - -X main.MesheryCloudApiBaseUrl="https://meshery.layer5.io" - -X main.MesheryApiBaseUrl="https://playground.meshery.io" @@ -41,6 +42,8 @@ archives: {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }}_{{ .Timestamp }} + files: + - cmd/kanvas-snapshot/** format: tar.gz format_overrides: - goos: windows