mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-17 21:03:20 +00:00
assemble.sh now returns exit code from Installomator.sh
This commit is contained in:
@@ -120,6 +120,8 @@ chmod +x $destination_file
|
||||
# run script with remaining arguments
|
||||
if [[ $runScript -eq 1 ]]; then
|
||||
$destination_file "$@"
|
||||
exit_code=$?
|
||||
echo "exit_code is $exit_code"
|
||||
fi
|
||||
|
||||
# copy the script to root of repo when flag is set
|
||||
@@ -186,3 +188,5 @@ if [[ $notarizePkg -eq 1 ]]; then
|
||||
echo "# Stapling $productpath"
|
||||
xcrun stapler staple "$productpath"
|
||||
fi
|
||||
|
||||
exit $exit_code
|
||||
|
||||
Reference in New Issue
Block a user