Skip to content

Commit

Permalink
ci: set $yq_version to 2.3.0
Browse files Browse the repository at this point in the history
According what I said in kata-containers/tests#1349,
use the last verion is not a good choice.
This commit set it to 2.3.0.

Fixes: kata-containers#1411

Signed-off-by: Hui Zhu <[email protected]>
  • Loading branch information
teawater committed Apr 2, 2019
1 parent 432eda0 commit 7fa0390
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .ci/install-yq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,7 @@ function install_yq() {
die "Please install curl"
fi

# Workaround to get latest release from github (to not use github token).
# Get the redirection to latest release on github.
yq_latest_url=$(curl -Ls -o /dev/null -w %{url_effective} "https://${yq_pkg}/releases/latest")
# The redirected url should include the latest release version
# https://github.com/mikefarah/yq/releases/tag/<VERSION-HERE>
yq_version=$(basename "${yq_latest_url}")
local yq_version=2.3.0

local yq_url="https://${yq_pkg}/releases/download/${yq_version}/yq_${goos}_${goarch}"
curl -o "${yq_path}" -LSs ${yq_url}
Expand Down

0 comments on commit 7fa0390

Please sign in to comment.