Skip to content

Commit

Permalink
Add --help to publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Mar 9, 2022
1 parent 592e315 commit 160fb06
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
command -v shellcheck > /dev/null && shellcheck "$0"
command -v shellcheck >/dev/null && shellcheck "$0"

function print_usage() {
echo "Usage: $0 [-h|--help]"
echo "Publishes crates to crates.io."
}

if [ "$1" = "-h" ] || [ "$1" = "--help" ]
then
print_usage
exit 1
fi

# this should really more to cosmwasm...
STORAGE_PACKAGES="storage-plus"
Expand Down

0 comments on commit 160fb06

Please sign in to comment.