Skip to content

Commit

Permalink
ci: fix version check performed during the release
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed May 22, 2024
1 parent 77638de commit 9c2a844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9c2a844

Please sign in to comment.