Skip to content

Commit 6ddb247

Browse files
authored
Exit the distribution script on notarization failure (#3897)
This will prevent the script from uploading incorrectly signed packages to GitHub releases.
1 parent c0fe8e6 commit 6ddb247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/webassembly/distribute-latest-toolchain.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ create_installer() {
159159
xcrun stapler staple "${darwin_toolchain_installer_package}"
160160
else
161161
echo "Failed to notarize the toolchain $darwin_toolchain_installer_package: $request_status"
162+
exit 1
162163
fi
163164
}
164165

0 commit comments

Comments
 (0)