Skip to content

Commit

Permalink
Remove own ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Aug 16, 2020
1 parent 28ba0db commit 94cc553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ builds:
goarch:
- 386
- amd64
ldflags:
- "-X 'main.version={{.Version}}'"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: dev

LDFLAGS="-ldflags=-X 'main.Version=dev-linux'"
LDFLAGS="-ldflags=-s -w -X 'main.Version=dev-linux'"

format:
go fmt ./...
Expand Down

0 comments on commit 94cc553

Please sign in to comment.