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:
1 parent
d385c9bef8
commit
b0c3f8dbd7
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -13,7 +13,11 @@
|
|||||||
|
|
||||||
set -o errexit -o nounset
|
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)
|
[ -z "${date:-}" ] && date=$(date +%F)
|
||||||
|
|
||||||
PANDOC_IMAGE=pandoc/minimal:3.7
|
PANDOC_IMAGE=pandoc/minimal:3.7
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.\" Automatically generated by Pandoc 3.7.0.2
|
.\" Automatically generated by Pandoc 3.7.0.2
|
||||||
.\"
|
.\"
|
||||||
.TH "LF" "1" "2025\-07\-24" "" "DOCUMENTATION"
|
.TH "LF" "1" "2025\-07\-26" "r37" "DOCUMENTATION"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
lf \- terminal file manager
|
lf \- terminal file manager
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|||||||
Reference in new issue
Block a user