Skip to content

Commit

Permalink
update ldflags to use csctl
Browse files Browse the repository at this point in the history
this was missed during last renaming and we
also need to adjust the ldflags after the
renaming of the project.
This commit does the same.

Signed-off-by: kranurag7 <[email protected]>
  • Loading branch information
kranurag7 committed Feb 23, 2024
1 parent 0adfba8 commit 8300662
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ builds:
- arm64
env:
- CGO_ENABLED=0
ldflags: -w -s -X github.com/SovereignCloudStack/csmctl/pkg/cmd.Version={{.Version}} -X github.com/SovereignCloudStack/csmctl/pkg/cmd.Commit={{.Commit}}
ldflags:
- -s -w
- -X 'github.com/SovereignCloudStack/csctl/pkg/cmd.Version={{.Version}}'
- -X 'github.com/SovereignCloudStack/csctl/pkg/cmd.Commit={{.Commit}}'

0 comments on commit 8300662

Please sign in to comment.