From 5570580b785ac89e61c4bab66ed534c77328c9b3 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Tue, 1 Jun 2021 00:11:14 +0900 Subject: [PATCH] release.sh: fix completion generation --- release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 1300a7a..3141203 100755 --- a/release.sh +++ b/release.sh @@ -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"