Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
CI: Use specific version of xurls utility
Browse files Browse the repository at this point in the history
Build the version of `xurls` specified in the runtimes versions
database to avoid problems; the latest version of `xurls` requires
golang 1.10.3 but that is not available in the stable branches.

Fixes #855.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Oct 26, 2018
1 parent f430f47 commit 3d61716
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .ci/static-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,16 @@ check_docs()
if [ ! "$(command -v $cmd)" ]
then
info "Installing $cmd utility"
go get -u "github.com/mvdan/xurls/cmd/${cmd}"

local version
local url
local dir

version=$(get_test_version "externals.xurls.version")
url=$(get_test_version "externals.xurls.url")
dir=$(echo "$url"|sed 's!https://!!g')

build_version "${dir}" "" "${version}"
fi

info "Checking documentation"
Expand Down

0 comments on commit 3d61716

Please sign in to comment.