Fix the beam staging script, take 3 (#1370)

The number of arguments changed in https://github.com/google/nomulus/pull/1369, so the check needs to change as well.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1370)
<!-- Reviewable:end -->
This commit is contained in:
Lai Jiang 2021-10-04 16:44:32 -04:00 committed by GitHub
parent 6a44565acd
commit 6cb0cf5f6d

View file

@ -38,9 +38,9 @@
set -e
if (( "$#" < 5 || $(("$#" % 2)) == 0 ));
if (( "$#" < 6 || $(("$#" % 2)) == 1 ));
then
echo "Usage: $0 uberjar_task uberjar_name release_tag dev_project " \
echo "Usage: $0 uberjar_task uberjar_name release_tag dev_project " \
"main_class metadata_pathname [ main_class metadata_pathname ] ..."
exit 1
fi