mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Make sure there are no spaces in the status string
This commit is contained in:
parent
2a72488a32
commit
e6bbe74abf
1 changed files with 4 additions and 4 deletions
|
@ -56,14 +56,14 @@ xcrun notarytool submit nheko.dmg --apple-id "${APPLE_DEV_USER}" --password "${A
|
||||||
requestUUID="$(awk -F ': ' '/id/ {print $2}' "$NOTARIZE_SUBMIT_LOG" | head -1)"
|
requestUUID="$(awk -F ': ' '/id/ {print $2}' "$NOTARIZE_SUBMIT_LOG" | head -1)"
|
||||||
|
|
||||||
if [ -z "${requestUUID}" ]; then
|
if [ -z "${requestUUID}" ]; then
|
||||||
echo "Received requestUUID: ${requestUUID}"
|
echo "Received requestUUID: \"${requestUUID}\""
|
||||||
else
|
else
|
||||||
echo "Something went wrong when submitting the request... we don't have a UUID"
|
echo "Something went wrong when submitting the request... we don't have a UUID"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while sleep 60 && date; do
|
while sleep 60 && date; do
|
||||||
echo "--> Checking notarization status for ${requestUUID}"
|
echo "--> Checking notarization status for \"${requestUUID}\""
|
||||||
|
|
||||||
# OLD altool usage: xcrun altool --notarization-info "${requestUUID}" -u "${APPLE_DEV_USER}" -p "${APPLE_DEV_PASS}" > "$NOTARIZE_STATUS_LOG" 2>&1
|
# OLD altool usage: xcrun altool --notarization-info "${requestUUID}" -u "${APPLE_DEV_USER}" -p "${APPLE_DEV_PASS}" > "$NOTARIZE_STATUS_LOG" 2>&1
|
||||||
xcrun notarytool info "${requestUUID}" --apple-id "${APPLE_DEV_USER}" --password "${APPLE_DEV_PASS}" --team-id "${APPLE_TEAM_ID}" > "$NOTARIZE_STATUS_LOG" 2>&1
|
xcrun notarytool info "${requestUUID}" --apple-id "${APPLE_DEV_USER}" --password "${APPLE_DEV_PASS}" --team-id "${APPLE_TEAM_ID}" > "$NOTARIZE_STATUS_LOG" 2>&1
|
||||||
|
@ -72,7 +72,7 @@ while sleep 60 && date; do
|
||||||
#isSuccess=$(grep "success" "$NOTARIZE_STATUS_LOG")
|
#isSuccess=$(grep "success" "$NOTARIZE_STATUS_LOG")
|
||||||
#isFailure=$(grep "invalid" "$NOTARIZE_STATUS_LOG")
|
#isFailure=$(grep "invalid" "$NOTARIZE_STATUS_LOG")
|
||||||
|
|
||||||
echo "Status for submission ${requestUUID}: ${sub_status}"
|
echo "Status for submission \"${requestUUID}\": \"${sub_status}\""
|
||||||
|
|
||||||
if [ "${sub_status}" = "Accepted" ]; then
|
if [ "${sub_status}" = "Accepted" ]; then
|
||||||
echo "Notarization done!"
|
echo "Notarization done!"
|
||||||
|
|
Loading…
Reference in a new issue