From 13a5baf57f20e8fce54d42eba1a9e20bf7b9826d Mon Sep 17 00:00:00 2001 From: Ties de Kock Date: Tue, 4 Mar 2025 19:12:00 +0100 Subject: [PATCH] git describe should always output No git describe output -> no version after fpm ...`-v` -> build fails. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb3ab35..0dab22d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ BUILDINFOSDET ?= DOCKER_REPO := rpki/ STAYRTR_NAME := stayrtr -STAYRTR_VERSION := $(shell git describe --tags $(git rev-list --tags --max-count=1)) +STAYRTR_VERSION := $(shell git describe --always --tags $(git rev-list --tags --max-count=1)) VERSION_PKG := $(shell echo $(STAYRTR_VERSION) | sed 's/^v//g') LICENSE := BSD-3 URL := https://github.com/bgp/stayrtr