Skip to content

Commit

Permalink
goreleaser: set correct ldflags (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterp committed May 8, 2024
1 parent 8bf6da9 commit c5f7837
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ builds:
- -mod=vendor
- -trimpath
ldflags:
- -s -w -X {{.Env.GO_PKG}}/exoscale.version={{.Version}} -X {{.Env.GO_PKG}}/exoscale.commit={{.ShortCommit}}
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
goos:
- linux
goarch:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Improvements

* goreleaser: set correct ldflags #29

## 0.29.5

### Improvements
Expand Down

0 comments on commit c5f7837

Please sign in to comment.