Skip to content

Commit d6d9040

Browse files
committed
Make semver check workable
1 parent b6396ca commit d6d9040

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/semver.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ if ! rustc --version | grep -E "nightly" ; then
1313
exit 1
1414
fi
1515

16+
# FIXME: Pin nightly version to make semverver compile.
17+
NIGHTLY_DATE=nightly-2020-06-18
18+
19+
rustup override set ${NIGHTLY_DATE}
20+
1621
rustup component add rustc-dev llvm-tools-preview
1722

1823
# FIXME: Use upstream once it gets rustup.
19-
cargo +nightly install semververfork
24+
cargo +${NIGHTLY_DATE} install semververfork
2025

2126
TARGETS=
2227
case "${OS}" in
@@ -73,5 +78,5 @@ for TARGET in $TARGETS; do
7378
done
7479

7580
# FIXME: Use upstream once it gets rustup.
76-
cargo +nightly semverfork --api-guidelines --target="${TARGET}"
81+
cargo +${NIGHTLY_DATE} semverfork --api-guidelines --target="${TARGET}"
7782
done

0 commit comments

Comments
 (0)