build-release-tarball: Improve help/error output.

This commit is contained in:
Tim Abbott
2017-11-16 22:17:12 -08:00
parent 780d83efab
commit 41a0fd97c4

View File

@@ -2,7 +2,7 @@
set -eu
usage() {
echo "Usage: $0 <ZULIP_VERSION>" >&2
echo "Usage: $0 <ZULIP_VERSION> [--authors-not-required]" >&2
exit 1
}
@@ -35,6 +35,7 @@ if ! git diff --exit-code >/dev/null; then
echo "will not be included; you should commit or stash them based on "
echo "what you want and then try again."
echo
git diff
exit 1
fi