Skip to content

Commit

Permalink
Pin go-licenses version to avoid go 1.16.x dependencies (#6311)
Browse files Browse the repository at this point in the history
* pin go-licenses version to avoid go 1.16.x dependencies

* add TODO to update this
  • Loading branch information
MarlonGamez authored and halvards committed Jul 28, 2021
1 parent 4e915aa commit fb4d742
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/generate-statik.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ elif ! [ -x "$(command -v ${LICENSES})" ]; then
# from a dependency.
echo "Installing go-licenses"
pushd $(mktemp -d ${TMPDIR:-/tmp}/generate-statik.XXXXXX)
go mod init tmp; GOBIN=${BIN} go get github.com/google/go-licenses
#TODO(marlongamez): unpin this version once we're able to build using go 1.16.x
go mod init tmp; GOBIN=${BIN} go get github.com/google/go-licenses@9376cf9847a05cae04f4589fe4898b9bce37e684
popd
fi

Expand Down

0 comments on commit fb4d742

Please sign in to comment.