Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/src/commit/be9b9906e99a9737243b61d534ba74960255b362/ci/notarize.sh You should set ROOT_URL correctly, otherwise the web may not work correctly.
recyclarr/ci/notarize.sh

41 lines
700 B

#!/usr/bin/env bash
set -e
user="$1"
pass="$2"
teamId="$3"
archivePath="$4"
function submit() {
xcrun notarytool submit --wait --no-progress -f json \
--apple-id "$user" \
--password "$pass" \
--team-id "$teamId" \
recyclarr.zip | \
jq -r .id
}
function log() {
xcrun notarytool log \
--apple-id "$user" \
--password "$pass" \
--team-id "$teamId" \
"$1"
}
tar -cvf recyclarr.tar -C "$(dirname "$archivePath")" "$(basename "$archivePath")"
zip recyclarr.zip recyclarr.tar
submissionId="$(submit)"
rm recyclarr.zip recyclarr.tar
if [[ -z "$submissionId" ]]; then
exit 1
fi
echo "Submission ID: $submissionId"
until log "$submissionId"
do
sleep 2
done