Skip to content

Commit 94cc553

Browse files
committed
Remove own ldflags
1 parent 28ba0db commit 94cc553

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ builds:
55
goarch:
66
- 386
77
- amd64
8-
ldflags:
9-
- "-X 'main.version={{.Version}}'"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: dev
22

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

55
format:
66
go fmt ./...

0 commit comments

Comments
 (0)