diff options
author | Miles McLean | 2022-03-07 11:40:15 -0600 |
---|---|---|
committer | Miles McLean | 2022-03-07 11:40:15 -0600 |
commit | 6e57a56ccbd61317ec36f7cf6730a46aca7114fb (patch) | |
tree | 234533ce6040896ced223e981dce70229a859e49 /update.sh | |
parent | 1f0dddf9d7131509bed5d0c6f124799394a936e4 (diff) | |
download | aur-6e57a56ccbd61317ec36f7cf6730a46aca7114fb.tar.gz |
Updated update.sh script to use new Snyk namespace
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh index 49e7b8c375c5..be5d40dbc5da 100755 --- a/update.sh +++ b/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -latest_version=$(curl -Is "https://github.com/snyk/snyk/releases/latest" | grep "location" | head -1 | sed "s#.*tag/v##g" | tr -d "\r") +latest_version=$(curl -Is "https://github.com/snyk/cli/releases/latest" | grep "location" | head -1 | sed "s#.*tag/v##g" | tr -d "\r") echo "Latest Snyk CLI Version: v${latest_version}" sed -i "s/^pkgver=.*$/pkgver=${latest_version}/" ./PKGBUILD |