Add diagnostic reporting for validation phase.
This commit is contained in:
parent
17fec907ec
commit
bd28d4bdd2
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ if [ $? -eq 0 ]; then
|
||||||
echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2
|
echo "::error::Aborted. Version value '$version' cannot contain spaces." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "::debug::Version '$version' is valid."
|
||||||
|
|
||||||
if [ "$packages" == "" ]; then
|
if [ "$packages" == "" ]; then
|
||||||
echo "::error::Aborted. Packages argument cannot be empty." >&2
|
echo "::error::Aborted. Packages argument cannot be empty." >&2
|
||||||
|
@ -23,5 +24,6 @@ for package in $packages; do
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
echo "::debug::Packages '$packages' are valid."
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
Loading…
Reference in a new issue