Update action.yml [release] [v3.0]

This commit is contained in:
linguist
2021-01-02 20:23:05 +01:00
parent 0964a84788
commit c7bf1dc81c

View File

@@ -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