From c7bf1dc81c45edd41c183c07661d551096da962c Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Sat, 2 Jan 2021 20:23:05 +0100 Subject: [PATCH] Update action.yml [release] [v3.0] --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 626c5bb6..ceaced05 100644 --- a/action.yml +++ b/action.yml @@ -439,7 +439,9 @@ runs: # Official action elif [[ $METRICS_SOURCE == "lowlighter" ]]; then # Is unreleased version - METRICS_IS_UNRELEASED=$(expr $(expr match $METRICS_VERSION .*-beta) \> 0) + set +e + METRICS_IS_UNRELEASED=$(expr $(expr match $METRICS_VERSION .*-beta) == 0) + set -e echo "Unreleased: $METRICS_IS_UNRELEASED" # Rebuild image for unreleased version if [[ $METRICS_IS_UNRELEASED ]]; then