Merge pull request #130 from mrvdb/issue125

Construct version from annotated tags only
This commit is contained in:
Matt Baer 2019-06-27 15:32:14 -04:00 committed by GitHub
commit 6fdc343986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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