[#20] Update VERSION in Makefile

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-11 17:15:03 +03:00 committed by Alex Vanin
parent 61bc5af44b
commit 0e4e213352

View file

@ -1,7 +1,7 @@
#!/usr/bin/make -f #!/usr/bin/make -f
REPO ?= "$(shell go list -m)" REPO ?= "$(shell go list -m)"
VERSION ?= "$(shell git describe --tags 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")" VERSION ?= "$(shell git describe --tags --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")"
HUB_IMAGE ?= nspccdev/neofs-rest-gw HUB_IMAGE ?= nspccdev/neofs-rest-gw
HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')" HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')"