Skip to content

Commit

Permalink
fix: delete existing temporary tgz if present to avoid silence failure
Browse files Browse the repository at this point in the history
  • Loading branch information
deimosfr committed Feb 23, 2020
1 parent 4a3e93f commit 855aafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
latest_tag=$(curl --silent "https://api.github.com/repos/$repo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
version=$(echo $latest_tag | sed 's/^v//')

test -f $output_tgz && rm -f $output_tgz
curl -o $output_tgz -sOL "https://github.com/${repo}/releases/download/${latest_tag}/qovery-cli_${version}_${os}_amd64.tar.gz"

echo "Uncompressing qovery binary in $dest_binary directory"
Expand Down

0 comments on commit 855aafb

Please sign in to comment.