Update version number in makefile

Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
Jguer 2018-03-13 16:55:04 +00:00
parent 7de404b43d
commit 7f657bebe6

View file

@ -1,11 +1,11 @@
.PHONY: all default install test build release clean
VERSION := $(shell git rev-list --count master)
LDFLAGS=-ldflags '-s -w -X main.version=3.${VERSION}'
LDFLAGS=-ldflags '-s -w -X main.version=4.${VERSION}'
GOFILES := $(shell ls *.go | grep -v /vendor/)
ARCH=$(shell uname -m)
PKGNAME=yay
PACKAGE=${PKGNAME}_3.${VERSION}_${ARCH}
PACKAGE=${PKGNAME}_4.${VERSION}_${ARCH}
default: build