Merge pull request #130 from mrvdb/issue125
Construct version from annotated tags only
This commit is contained in:
commit
6fdc343986
1 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
GITREV=`git describe --tags | cut -c 2-`
|
GITREV=`git describe | cut -c 2-`
|
||||||
LDFLAGS=-ldflags="-X 'github.com/writeas/writefreely.softwareVer=$(GITREV)'"
|
LDFLAGS=-ldflags="-X 'github.com/writeas/writefreely.softwareVer=$(GITREV)'"
|
||||||
|
|
||||||
GOCMD=go
|
GOCMD=go
|
||||||
|
|
Loading…
Add table
Reference in a new issue