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

(cherry picked from commit 808f85e05f)
This commit is contained in:
Earl Warren 2024-01-23 18:09:28 +01:00 committed by github-actions[bot]
parent 928d1db7be
commit 7ed0e4dc3b
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"