Skip to content

Commit

Permalink
Fix RPM installation URL to include release (#287)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Hutař <jhutar@seznam.cz>
  • Loading branch information
jhutar committed Jan 8, 2024
1 parent 37a51c6 commit ddeaa9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/system_config/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sudo chmod +x /usr/local/bin/cosign

# rpm
LATEST_VERSION=$(curl https://api.github.com/repos/sigstore/cosign/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-${LATEST_VERSION}.x86_64.rpm"
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-${LATEST_VERSION}-1.x86_64.rpm"
sudo rpm -ivh cosign-${LATEST_VERSION}.x86_64.rpm

# dkpg
Expand Down

0 comments on commit ddeaa9f

Please sign in to comment.