1
0
mirror of https://github.com/google/nomulus synced 2026-01-08 23:23:32 +00:00

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 9103216a46
commit f6920454f6

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