mirror of
https://github.com/Jguer/yay.git
synced 2024-11-07 01:27:21 +01:00
Update version number in makefile
Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
parent
7de404b43d
commit
7f657bebe6
4
Makefile
4
Makefile
@ -1,11 +1,11 @@
|
|||||||
.PHONY: all default install test build release clean
|
.PHONY: all default install test build release clean
|
||||||
VERSION := $(shell git rev-list --count master)
|
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/)
|
GOFILES := $(shell ls *.go | grep -v /vendor/)
|
||||||
ARCH=$(shell uname -m)
|
ARCH=$(shell uname -m)
|
||||||
PKGNAME=yay
|
PKGNAME=yay
|
||||||
|
|
||||||
PACKAGE=${PKGNAME}_3.${VERSION}_${ARCH}
|
PACKAGE=${PKGNAME}_4.${VERSION}_${ARCH}
|
||||||
|
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user