mirror of
https://github.com/tonarino/innernet.git
synced 2025-01-04 03:48:20 +02:00
release.sh: fix completion generation
This commit is contained in:
parent
15e9c08a8a
commit
5570580b78
@ -28,8 +28,7 @@ cargo build
|
||||
|
||||
for binary in "innernet" "innernet-server"; do
|
||||
for shell in {fish,zsh,bash,powershell,elvish}; do
|
||||
"target/debug/$binary" completions $shell > doc/$binary.completions.$shell
|
||||
git diff --quiet -- doc/$binary.completions.$shell || die "CLI and Completions out of sync for $shell"
|
||||
"target/debug/$binary" completions $shell > doc/$binary.completions.$shell || die "CLI completion failed for $shell"
|
||||
done
|
||||
help2man --no-discard-stderr -s8 "target/debug/$binary" -N > "doc/$binary.8"
|
||||
gzip -fk "doc/$binary.8"
|
||||
|
Loading…
Reference in New Issue
Block a user