mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-17 12:56:37 +08:00
Correctly create out dir on macos, add debug to notarization upload
This commit is contained in:
parent
af7c44af6a
commit
fb1f044958
@ -43,6 +43,9 @@ else
|
|||||||
echo "Found existing files to build"
|
echo "Found existing files to build"
|
||||||
cd jcef
|
cd jcef
|
||||||
fi
|
fi
|
||||||
|
if [ ! -d "out" ]; then
|
||||||
|
mkdir out
|
||||||
|
fi
|
||||||
if [ ! -d "out/docs" ]; then
|
if [ ! -d "out/docs" ]; then
|
||||||
mkdir out/docs
|
mkdir out/docs
|
||||||
fi
|
fi
|
||||||
|
@ -28,14 +28,14 @@ echo "Creating zip"
|
|||||||
zip -r "$APP_NAME.zip" "$APP_NAME"
|
zip -r "$APP_NAME.zip" "$APP_NAME"
|
||||||
|
|
||||||
echo "Uploading $ZIP_PATH for notarization"
|
echo "Uploading $ZIP_PATH for notarization"
|
||||||
requestUUID=$(xcrun altool --notarize-app \
|
xcRunOutput=$(xcrun altool --notarize-app \
|
||||||
--type macos \
|
--type macos \
|
||||||
--primary-bundle-id "$4" \
|
--primary-bundle-id "$4" \
|
||||||
--apiKey "$5" \
|
--apiKey "$5" \
|
||||||
--apiIssuer "$6" \
|
--apiIssuer "$6" \
|
||||||
--file "$1.zip" 2>&1 \
|
--file "$1.zip" 2>&1 )
|
||||||
| awk '/RequestUUID/ { print $NF; }')
|
echo "xcrun> $xcRunOutput"
|
||||||
# --asc-provider "$3" \
|
requestUUID=$(echo "$xcRunOutput" | awk '/RequestUUID/ { print $NF; }')
|
||||||
|
|
||||||
echo "Notarization RequestUUID: $requestUUID"
|
echo "Notarization RequestUUID: $requestUUID"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user