[#169] Update VERSION calculating

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-18 11:56:14 +03:00 committed by Alex Vanin
parent 4a2f9d6d6c
commit a2d667acf9
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/make -f
REPO ?= $(shell go list -m)
VERSION ?= $(shell git describe --tags --dirty --always)
VERSION ?= $(shell git describe --tags --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
GO_VERSION ?= 1.17
LINT_VERSION ?= 1.46.2
BUILD ?= $(shell date -u --iso=seconds)

1
VERSION Normal file
View file

@ -0,0 +1 @@
v0.21.0