Use the next upcoming version when generating lf.1 (#2068)

* Update man page to include version

* Use next version instead
This commit is contained in:
Joe Lim authored and GitHub committed 2025-07-26 23:24:05 +10:00
1 parent d385c9bef8
commit b0c3f8dbd7
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -13,7 +13,11 @@
set -o errexit -o nounset
[ -z "${version:-}" ] && version=$(git describe --tags --abbrev=0)
get_version() {
printf "r%s" $(($(git describe --tags --abbrev=0 | tr -d r) + 1))
}
[ -z "${version:-}" ] && version=$(get_version)
[ -z "${date:-}" ] && date=$(date +%F)
PANDOC_IMAGE=pandoc/minimal:3.7