mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 22:02:25 +00:00
run/hetzner: rollback sparsecat using outside linux
Makefile: compute tag: ignore dirty state Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ MODULE = go.linka.cloud/d2vm
|
||||
|
||||
REPOSITORY = linkacloud
|
||||
|
||||
TAG = $(shell git describe --tags --exact-match 2> /dev/null)
|
||||
TAG = $(shell git diff --quiet && git describe --tags --exact-match 2> /dev/null)
|
||||
VERSION_SUFFIX = $(shell git diff --quiet || echo "-dev")
|
||||
VERSION = $(shell git describe --tags --exact-match 2> /dev/null || echo "`git describe --tags $$(git rev-list --tags --max-count=1) 2> /dev/null || echo v0.0.0`-`git rev-parse --short HEAD`")$(VERSION_SUFFIX)
|
||||
show-version:
|
||||
|
Reference in New Issue
Block a user