[#43] Filter version tags for version calculation
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
parent
aeeafd5d1d
commit
b701f4f103
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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 --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")"
|
VERSION ?= "$(shell git describe --tags --match "v*" --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//')"
|
||||||
|
|
Reference in a new issue