Skip to content

Commit c7b2bed

Browse files
committed
Removes go linker warning.
1 parent 34dc718 commit c7b2bed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build:
1010

1111
compile:
1212
@rm -rf build/
13-
@gox -ldflags "-X main.Version $(VERSION)" \
13+
@gox -ldflags "-X main.Version=$(VERSION)" \
1414
-os="darwin" \
1515
-os="linux" \
1616
-os="windows" \
@@ -19,7 +19,7 @@ compile:
1919
./...
2020

2121
install:
22-
go install -ldflags "-X main.Version $(VERSION)"
22+
go install -ldflags "-X main.Version=$(VERSION)"
2323

2424
deps:
2525
go get github.com/c4milo/github-release

0 commit comments

Comments
 (0)