treat missing metadata as a warning not an error
Rather than exit with an error when the metadata is not present, report a warning and exit with a passing status code. That way the CI job won't fail. Change-Id: If87b49fda044a54326a8bca600226ad838106027 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
c94969aee9
commit
9cc176af01
|
@ -94,8 +94,11 @@ fi
|
|||
#
|
||||
TAG_META=$(git show --no-patch "$VERSION" | grep '^meta:' || true)
|
||||
if [[ -z "$TAG_META" ]]; then
|
||||
echo ERROR: Missing meta lines in $VERSION tag message.
|
||||
exit 1
|
||||
echo "WARNING: Missing meta lines in $VERSION tag message,"
|
||||
echo " skipping announcement."
|
||||
echo
|
||||
echo "Was the tag for $VERSION created with release.sh?"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
function get_tag_meta {
|
||||
|
|
Loading…
Reference in New Issue