Skip to content

Commit

Permalink
remove bad validation
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Jan 8, 2025
1 parent 794bcbe commit 0ff9198
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ downloadSignedMacOSBinaries() {
# Attempt to get the specific artifact URL
artifactUrl=$(get_specific_artifact_url_with_retries)

# Validate the URL
if [[ -z "$artifactUrl" || ! "$artifactUrl" =~ ^https?://.+ ]]; then
echo "$artifactUrl Failed to find download artifact for version: $releaseVersion and goarch: $goarch. Please validate the artifacts were successfully uploaded."
exit 1
fi

# Download the artifact
curl -L \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit 0ff9198

Please sign in to comment.