Skip to content

Commit

Permalink
ci: fix exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Apr 16, 2024
1 parent e11d015 commit 4ab8950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LATEST_VERSION="$(echo $APP_JSON | jq -r '.version')"

# Validate latest version
if ! [[ $LATEST_VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] ; then
echo "error: ${LATEST_VERSION} is not a valid Semantic Version" >&2; exit 1
echo "error: ${LATEST_VERSION} is not a valid Semantic Version" >&2; exit 0
fi

# Compare current and latest versions
Expand Down

0 comments on commit 4ab8950

Please sign in to comment.