From ce4fcc0991df53a0953869ccc6406bc339dec50f Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Mon, 7 May 2018 15:09:28 -0700 Subject: Add usage prompt for docker-manifest check script Change-Id: I79c75c188f4faea891908d8dd2a7f0fe0b44e7a9 Issue-ID: INT-488 Signed-off-by: Gary Wu --- version-manifest/src/main/scripts/check-docker-manifest.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'version-manifest/src/main') diff --git a/version-manifest/src/main/scripts/check-docker-manifest.sh b/version-manifest/src/main/scripts/check-docker-manifest.sh index 9064c836d..61eb5a2a9 100755 --- a/version-manifest/src/main/scripts/check-docker-manifest.sh +++ b/version-manifest/src/main/scripts/check-docker-manifest.sh @@ -1,5 +1,11 @@ #!/bin/bash +if [ "$#" -ne 1 ]; then + echo This script checks docker-manifest.csv to verify that the specified versions exist in nexus3 + echo "$0 " + exit 1 +fi + if [ -z "$WORKSPACE" ]; then export WORKSPACE=`git rev-parse --show-toplevel` fi -- cgit 1.2.3-korg