Use static rbenv release version when generating man page

This commit is contained in:
Mislav Marohnić 2025-01-07 23:59:22 +01:00
parent 1d08efe089
commit 75aee988b3
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
release_version := $(shell git describe --tags)
release_version := $(shell GIT_CEILING_DIRECTORIES=$(PWD) bin/rbenv --version | cut -d' ' -f2)
share/man/man1/rbenv.1: share/man/man1/rbenv.1.adoc
asciidoctor -b manpage -a version=$(release_version:v%=%) $<