mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-01 02:00:46 +08:00
Updated makefile to set version from git tag
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
GO := go
|
||||
pkgs = $(shell find . -type d -name "pt-*" -exec basename {} \;)
|
||||
VERSION="3.0.13"
|
||||
VERSION=$(shell git describe --abbrev=0 --tags)
|
||||
BUILD=$(shell date +%FT%T%z)
|
||||
GOVERSION=$(shell go version | cut --delimiter=" " -f3)
|
||||
COMMIT=$(shell git rev-list -1 HEAD)
|
||||
|
||||
Reference in New Issue
Block a user