From 9c2a844bf638d1193dd15343f1bf504859fd9bc7 Mon Sep 17 00:00:00 2001 From: galargh Date: Wed, 22 May 2024 09:18:45 +0200 Subject: [PATCH] ci: fix version check performed during the release --- scripts/version-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version-check.sh b/scripts/version-check.sh index 20aeda4cc1f..4099c800ebb 100755 --- a/scripts/version-check.sh +++ b/scripts/version-check.sh @@ -32,7 +32,7 @@ function validate_lotus_version_matches_tag(){ _lotus_path=$1 -if [[ "$GITHUB_REF" != refs/tags/* ]]; then +if [[ "$GITHUB_REF" == refs/tags/* ]]; then validate_lotus_version_matches_tag "${_lotus_path}" "${GITHUB_REF#refs/tags/}" else echo "$GITHUB_REF is not a tag, skipping version check"