fixed patch for the makefile to use the correct version number

This commit is contained in:
Manuel Friedli 2015-09-28 13:58:56 +02:00
parent ea8dd0e860
commit 4a8df7b93d
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ index f6456e1..c25e29e 100644
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=0.2.9-$(shell date -u +%Y%m%d.%H%M%S)
+VERSION=0.2.10-$(shell date -u +%Y%m%d.%H%M%S)
gitlab-git-http-server: main.go githandler.go
go build -ldflags "-X main.Version ${VERSION}" -o gitlab-git-http-server