admin: command-line: VERSION has variance, dont use it

This commit is contained in:
Earl Warren 2024-01-23 18:09:28 +01:00
parent a126811a15
commit 808f85e05f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 5 additions and 3 deletions

View file

@ -63,10 +63,14 @@ function section() {
echo '```'
}
function section_help() {
section "##" "" 'forgejo `--help`' | sed -e '/^VERSION:/d' -e '/built with GNU Make/d'
}
function generate() {
front
section "##" "" 'forgejo `--help`'
section_help
section "##" "forgejo-cli"