mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
Fixes Versioning
This commit is contained in:
parent
2925b8fb0a
commit
808248b402
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
.PHONY: build doc fmt lint run test vendor_clean vendor_get vendor_update vet
|
.PHONY: build doc fmt lint run test vendor_clean vendor_get vendor_update vet
|
||||||
|
|
||||||
VERSION := $(shell git rev-list --count master)
|
VERSION := "$(shell git rev-list --count master)"
|
||||||
LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}"
|
LDFLAGS=-ldflags "-s -w -X main.version=2.${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
|
||||||
|
|
Loading…
Reference in a new issue