Skip to content

Commit

Permalink
correctly store build number in binary
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Nov 10, 2015
1 parent a5f2ff5 commit a13ce5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build:
go build

build_static:
go build --ldflags '-extldflags "-static" -X main.version=$(CI_BUILD_NUMBER)' -o drone_static
go build --ldflags '-extldflags "-static" -X main.build=$(CI_BUILD_NUMBER)' -o drone_static

test:
go test -cover $(PACKAGES)
Expand Down

0 comments on commit a13ce5c

Please sign in to comment.