From b982595c73758ce9b958668d312f34b353492273 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 24 Oct 2018 19:36:50 -0700 Subject: [PATCH] Add version check and rustup --- ci/snap.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/snap.sh b/ci/snap.sh index b44aaa0e95..c022f175ec 100755 --- a/ci/snap.sh +++ b/ci/snap.sh @@ -2,6 +2,13 @@ cd "$(dirname "$0")/.." +if ! ci/version-check.sh stable; then + # This job doesn't run within a container, try once to upgrade tooling on a + # version check failure + rustup install stable + ci/version-check.sh stable +fi + DRYRUN= if [[ -z $BUILDKITE_BRANCH ]] || ./ci/is-pr.sh; then DRYRUN="echo"