diff --git a/Makefile b/Makefile index fe13bdd..8dafff8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #!/usr/bin/make -f 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_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')"