From f07828e382a697ed5c1ff69007f7cdc0cc46aa7d Mon Sep 17 00:00:00 2001 From: Quang Nguyen Date: Thu, 5 Dec 2024 16:08:07 -0500 Subject: [PATCH] fix(goreleaser): update ldflags for building Retina CLI --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0e0cfdfd6b..e7a395b868 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,7 +1,7 @@ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj -version: 1 +version: 2 before: hooks: @@ -22,7 +22,7 @@ builds: - windows - darwin ldflags: - - -X github.com/microsoft/retina/cli/cmd.Version=v{{.Version}} + - -X github.com/microsoft/retina/internal/buildinfo.Version=v{{.Version}} main: cli/main.go archives: