Construct version from annotated tags only

Fixes issue 125
This commit is contained in:
Marcel van der Boom 2019-06-27 21:25:22 +02:00
parent f26e0ca86e
commit f6c129ed20
1 changed files with 2 additions and 2 deletions

View File

@ -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