Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b53a727e3 | ||
|
|
fdec105174 | ||
|
|
12128b016d | ||
|
|
a32cd03581 | ||
|
|
8a12ed0a54 | ||
|
|
bfdc6fde9d |
+2
-2
@@ -13,9 +13,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.0</string>
|
||||
<string>0.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
<string>3</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>14.0</string>
|
||||
<key>LSUIElement</key>
|
||||
|
||||
@@ -214,7 +214,7 @@ fi
|
||||
# above, which is what ships. A no-op when the two happen to be the same.
|
||||
echo "==> Signing ${APP_BUNDLE} with resolved identity"
|
||||
run_signed codesign --force --options runtime --timestamp \
|
||||
"${CODESIGN_KEYCHAIN_ARGS[@]}" \
|
||||
${CODESIGN_KEYCHAIN_ARGS[@]+"${CODESIGN_KEYCHAIN_ARGS[@]}"} \
|
||||
--sign "${SIGN_IDENTITY}" \
|
||||
--identifier "${BUNDLE_ID}" \
|
||||
"${APP_BUNDLE}"
|
||||
@@ -359,11 +359,18 @@ SPCTL_STATUS=$?
|
||||
set -e
|
||||
echo "${SPCTL_OUTPUT}"
|
||||
if [[ "${SPCTL_STATUS}" -ne 0 ]] || ! grep -qi 'accepted' <<<"${SPCTL_OUTPUT}"; then
|
||||
echo "spctl did not report accepted for ${APP_BUNDLE}." >&2
|
||||
if [[ "${NOTARIZED}" -eq 1 ]]; then
|
||||
echo "spctl did not report accepted for ${APP_BUNDLE} although it was notarized." >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "WARNING: Gatekeeper does not accept this build (not notarized). First install on other Macs needs right-click > Open." >&2
|
||||
fi
|
||||
|
||||
TEAM_IDENTIFIER="$(codesign -dv "${APP_BUNDLE}" 2>&1 | awk -F= '/^TeamIdentifier=/{print $2}')"
|
||||
if [[ -z "${TEAM_IDENTIFIER}" ]]; then
|
||||
echo "No TeamIdentifier on ${APP_BUNDLE} — the build is not signed with a team identity; refusing to publish." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "==> Writing ${APPCAST_PATH}"
|
||||
python3 - "${VERSION}" "${ZIP_URL}" "${SHA256}" "${NOTES}" "${PUBDATE}" "${APPCAST_PATH}" "${NOTARIZED}" "${TEAM_IDENTIFIER}" <<'PY'
|
||||
|
||||
Reference in New Issue
Block a user