From bd28d4bdd2854fbf59cbcee168d59d947fedc27f Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Thu, 21 Oct 2021 16:00:06 -0700 Subject: [PATCH] Add diagnostic reporting for validation phase. --- validate_pkgs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validate_pkgs.sh b/validate_pkgs.sh index 2f37de0..0b24b79 100755 --- a/validate_pkgs.sh +++ b/validate_pkgs.sh @@ -10,6 +10,7 @@ if [ $? -eq 0 ]; then echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2 exit 1 fi +echo "::debug::Version '$version' is valid." if [ "$packages" == "" ]; then echo "::error::Aborted. Packages argument cannot be empty." >&2 @@ -23,5 +24,6 @@ for package in $packages; do exit 3 fi done +echo "::debug::Packages '$packages' are valid." echo "::endgroup::"