Skip to content

Commit

Permalink
git describe should always output
Browse files Browse the repository at this point in the history
No git describe output -> no version after fpm ...`-v` -> build fails.
  • Loading branch information
ties authored and randomthingsandstuff committed Mar 4, 2025
1 parent 1ba9185 commit 13a5baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13a5baf

Please sign in to comment.