mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 17:43:05 +00:00
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
4
Makefile
4
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)'"
|
||||
|
||||
GOCMD=go
|
||||
|
@ -95,7 +95,7 @@ release-linux : clean ui
|
|||
|
||||
release-docker :
|
||||
$(DOCKERCMD) push $(IMAGE_NAME)
|
||||
|
||||
|
||||
ui : force_look
|
||||
cd less/; $(MAKE) $(MFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue