We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 430d829 + a8e9bc2 commit cf1d71cCopy full SHA for cf1d71c
src/ci/scripts/upload-artifacts.sh
@@ -22,6 +22,15 @@ if [[ "${DEPLOY-0}" -eq "1" ]] || [[ "${DEPLOY_ALT-0}" -eq "1" ]]; then
22
mv "${dist_dir}"/* "${upload_dir}"
23
fi
24
25
+# We write the release channel into the output so that
26
+# `rustup-toolchain-install-master` or other, similar, tools can automatically
27
+# detect the appropriate name to use for downloading artifacts.
28
+#
29
+# For nightly and beta this isn't strictly necessary as just trying both is
30
+# enough, but stable builds produce artifacts with a version (e.g.,
31
+# rust-src-1.92.0.tar.xz) which can't be easily guessed otherwise.
32
+releaseChannel > "${upload_dir}/channel"
33
+
34
# CPU usage statistics.
35
cp build/cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv"
36
0 commit comments