Skip to content

Commit

Permalink
inject package version into filename
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwells committed Nov 17, 2015
1 parent 99d59ca commit 11dc23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -21,7 +21,7 @@ $(LASTGOPATH)/bin/goxc:
go get github.com/laher/goxc

release: $(LASTGOPATH)/bin/goxc
goxc -tasks='xc archive' -build-ldflags "-X github.com/wellington/wellington/version.Version $(wt_ver)" -bc='darwin' -arch='amd64' -wd=wt -d=. -n wt
goxc -tasks='xc archive' -build-ldflags "-X github.com/wellington/wellington/version.Version $(wt_ver)" -bc='darwin' -arch='amd64' -wd=wt -d=snapshot -pv $(wt_ver) -n wt

windows:
go build -o wt.exe -x -ldflags "-extldflags '-static' -X=github.com/wellington/wellington/version.Version=$(wt_ver)" github.com/wellington/wellington/wt
Expand Down

0 comments on commit 11dc23d

Please sign in to comment.