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.
artifact_url
distribute-latest-toolchain.sh
1 parent bed6ea1 commit f03fd8eCopy full SHA for f03fd8e
utils/webassembly/distribute-latest-toolchain.sh
@@ -29,7 +29,14 @@ get_artifact_url() {
29
30
download_artifact() {
31
local name=$1
32
- github -L "$(get_artifact_url $name)" --fail -o "$name.zip"
+ local artifact_url="$(get_artifact_url $name)"
33
+
34
+ if [ -z "$artifact_url" ] || [ "$artifact_url" == "null" ]; then
35
+ echo "No successfully built artifacts available for $name"
36
+ exit 0
37
+ fi
38
39
+ github -L "$artifact_url" --fail -o "$name.zip"
40
}
41
42
is_released() {
0 commit comments