Skip to content

Commit

Permalink
script/release_*.sh: fix usage
Browse files Browse the repository at this point in the history
- release_build: fix -H <hash_cmd> option (was -h)
- release_sign: add -H and -S options

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Dec 9, 2021
1 parent c729594 commit 457ca62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/release_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function build_project() {

# Print usage information.
function usage() {
echo "usage: release_build.sh [-a <cross-arch>]... [-c <commit-ish>] [-h <hashcmd>]" >&2
echo "usage: release_build.sh [-a <cross-arch>]... [-c <commit-ish>] [-H <hashcmd>]" >&2
echo " [-r <release-dir>] [-v <version>]" >&2
exit 1
}
Expand Down
3 changes: 2 additions & 1 deletion script/release_sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ root="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..")"

# Print usage information.
function usage() {
echo "usage: release_sign.sh [-S <gpg-key-id>] [-r <release-dir>]" >&2
echo "usage: release_sign.sh [-S <gpg-key-id>] [-H <hashcmd>]" >&2
echo " [-r <release-dir>] [-v <version>]" >&2
exit 1
}

Expand Down

0 comments on commit 457ca62

Please sign in to comment.