Skip to content

Commit

Permalink
Merge pull request #26 from snyk/CLI-423-update-cli-download-url
Browse files Browse the repository at this point in the history
feat: change download url from static to downloads
  • Loading branch information
PeterSchafer authored Jul 30, 2024
2 parents 4c3c515 + 3d236a5 commit f9ba35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/render.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Return the URL, SHA and version information for a GitHub release
def get_latest_release(bin)
snyk_cli_version_url = "https://static.snyk.io/cli/latest/release.json"
snyk_cli_version_url = "https://downloads.snyk.io/cli/latest/release.json"
data = URI.parse(snyk_cli_version_url).read
obj = JSON.parse(data)
version = obj["version"]
Expand Down

0 comments on commit f9ba35e

Please sign in to comment.