Correctly create out dir on macos, add debug to notarization upload

This commit is contained in:
FriwiDev 2022-11-01 03:36:23 +01:00
parent af7c44af6a
commit fb1f044958
2 changed files with 7 additions and 4 deletions

View File

@ -43,6 +43,9 @@ else
echo "Found existing files to build"
cd jcef
fi
if [ ! -d "out" ]; then
mkdir out
fi
if [ ! -d "out/docs" ]; then
mkdir out/docs
fi

View File

@ -28,14 +28,14 @@ echo "Creating zip"
zip -r "$APP_NAME.zip" "$APP_NAME"
echo "Uploading $ZIP_PATH for notarization"
requestUUID=$(xcrun altool --notarize-app \
xcRunOutput=$(xcrun altool --notarize-app \
--type macos \
--primary-bundle-id "$4" \
--apiKey "$5" \
--apiIssuer "$6" \
--file "$1.zip" 2>&1 \
| awk '/RequestUUID/ { print $NF; }')
# --asc-provider "$3" \
--file "$1.zip" 2>&1 )
echo "xcrun> $xcRunOutput"
requestUUID=$(echo "$xcRunOutput" | awk '/RequestUUID/ { print $NF; }')
echo "Notarization RequestUUID: $requestUUID"