Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6309f9fd12 | ||
|
|
43d35515e1 | ||
|
|
a110eb81e6 | ||
|
|
d40f0052d2 | ||
|
|
80408dd682 | ||
|
|
2ffcabbd52 | ||
|
|
85f0de631c |
@@ -27,3 +27,4 @@ ICCery.xcodeproj/
|
|||||||
Release/
|
Release/
|
||||||
notarization/
|
notarization/
|
||||||
build/
|
build/
|
||||||
|
docs/megaplans/
|
||||||
|
|||||||
@@ -132,8 +132,11 @@ dmgbuild -s scripts/dmgbuild-settings.py "$VOLUME_NAME" "$DMG"
|
|||||||
|
|
||||||
echo "DMG: $PWD/$DMG"
|
echo "DMG: $PWD/$DMG"
|
||||||
|
|
||||||
# Optional notarization/stapling when credentials are present.
|
# Notarization requires a Developer ID signature. If the app was ad-hoc
|
||||||
if [ -n "${NOTARIZE_APPLE_ID:-}" ] && \
|
# signed or any notarization secret is missing, skip silently — the DMG is
|
||||||
|
# still usable for local/testing installs.
|
||||||
|
if [ -n "${CODESIGN_IDENTITY:-}" ] && [ "$CODESIGN_IDENTITY" != "-" ] && \
|
||||||
|
[ -n "${NOTARIZE_APPLE_ID:-}" ] && \
|
||||||
[ -n "${NOTARIZE_PASSWORD:-}" ] && \
|
[ -n "${NOTARIZE_PASSWORD:-}" ] && \
|
||||||
[ -n "${APPLE_TEAM_ID:-}" ]; then
|
[ -n "${APPLE_TEAM_ID:-}" ]; then
|
||||||
echo "==> Submitting $DMG for notarization"
|
echo "==> Submitting $DMG for notarization"
|
||||||
@@ -144,6 +147,4 @@ if [ -n "${NOTARIZE_APPLE_ID:-}" ] && \
|
|||||||
--wait
|
--wait
|
||||||
xcrun stapler staple "$DMG"
|
xcrun stapler staple "$DMG"
|
||||||
echo "==> Stapled $DMG"
|
echo "==> Stapled $DMG"
|
||||||
else
|
|
||||||
echo "==> Notarization credentials not set; skipping"
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user