Skip to content

Commit

Permalink
fix ldflags for gorelease (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDen authored May 26, 2024
1 parent d5f5445 commit e22af85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
go.work

/bin

dist/
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ builds:
- arm64
flags:
- -mod=vendor
ldflags:
- -s -w
- -X github.com/songstitch/anchor/cmd.version={{.Env.VERSION}}
- -X github.com/songstitch/anchor/cmd.commit={{.Env.COMMIT}}
universal_binaries:
Expand Down

0 comments on commit e22af85

Please sign in to comment.