MAC_RELEASE_APP_NAME=CodexBar
MAC_RELEASE_REPO=steipete/CodexBar
MAC_RELEASE_BUNDLE_ID=com.steipete.codexbar
MAC_RELEASE_VERSION_FILE=version.env
MAC_RELEASE_APPCAST=appcast.xml
MAC_RELEASE_SOURCE_FILES='Scripts/release_artifacts.sh'
MAC_RELEASE_SUPUBLIC_ED_KEY=AGCY8w5vHirVfGGDGc8Szc5iuOqupZSh9pMj/Qs67XI=
# Shared AGCY Sparkle key (matches the embedded SUPublicEDKey above).
# SPARKLE_PRIVATE_KEY_FILE still wins; Keychain is used when this local file is absent.
MAC_RELEASE_SIGNING_KEY_FILE='$HOME/Library/CloudStorage/Dropbox/Backup/Sparkle/sparkle-private-key-Peekaboo-appcast-publickey-AGCY8w5vHirVfGGDGc8Szc5iuOqupZSh9pMj_Qs67XI-2026-05-21.txt'

MAC_RELEASE_APP_ZIP='$(codexbar_app_zip_name "$MARKETING_VERSION" "${ARCHES:-arm64 x86_64}")'
MAC_RELEASE_DSYM_ZIP='$(codexbar_dsym_zip_name "$MARKETING_VERSION" "${ARCHES:-arm64 x86_64}")'
MAC_RELEASE_ARTIFACT_PREFIX='CodexBar-macos-[A-Za-z0-9_+-]+-'
MAC_RELEASE_FEED_URL='https://raw.githubusercontent.com/steipete/CodexBar/main/appcast.xml'
MAC_RELEASE_DOWNLOAD_URL_PREFIX='https://github.com/steipete/CodexBar/releases/download/v${MARKETING_VERSION}/'

MAC_RELEASE_PRECHECK='make check && make test'
MAC_RELEASE_PACKAGE_CMD='Scripts/sign-and-notarize.sh'
MAC_RELEASE_OP_ITEM='Release - App Store Connect API key (3373VBN2P4) - notarization'
MAC_RELEASE_OP_VAULT=Molty
MAC_RELEASE_OP_FIELDS='APP_STORE_CONNECT_KEY_ID APP_STORE_CONNECT_ISSUER_ID APP_STORE_CONNECT_API_KEY_P8'
MAC_RELEASE_OP_USE_SERVICE_ACCOUNT=1
MAC_RELEASE_CODESIGN_IDENTITY='Developer ID Application: Peter Steinberger (Y5PE65HELJ)'
MAC_RELEASE_CODESIGN_OP_ITEM='Release - macOS signing keychain ref - Peter Steinberger'
MAC_RELEASE_CODESIGN_OP_PATH_FIELD='keychain_path'
MAC_RELEASE_CODESIGN_OP_VAULT=Molty
MAC_RELEASE_CODESIGN_OP_USE_SERVICE_ACCOUNT=1
MAC_RELEASE_CODESIGN_KEYCHAIN_MANAGED=1
MAC_RELEASE_CODESIGN_PASSWORDLESS=1
MAC_RELEASE_TAG_SIGNED=1
MAC_RELEASE_TAG_FORCE=1
MAC_RELEASE_GENERATE_APPCAST_ARGS='--maximum-deltas 0'
MAC_RELEASE_EXTRA_ASSET_WAIT_SECONDS=3600
MAC_RELEASE_EXTRA_ASSET_WAIT_INTERVAL=30
MAC_RELEASE_EXTRA_ASSET_PATTERNS='^CodexBarCLI-v${MARKETING_VERSION}-macos-arm64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-macos-arm64\.tar\.gz\.sha256$
^CodexBarCLI-v${MARKETING_VERSION}-macos-x86_64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-macos-x86_64\.tar\.gz\.sha256$
^CodexBarCLI-v${MARKETING_VERSION}-linux-aarch64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-linux-aarch64\.tar\.gz\.sha256$
^CodexBarCLI-v${MARKETING_VERSION}-linux-x86_64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-linux-x86_64\.tar\.gz\.sha256$
^CodexBarCLI-v${MARKETING_VERSION}-linux-musl-aarch64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-linux-musl-aarch64\.tar\.gz\.sha256$
^CodexBarCLI-v${MARKETING_VERSION}-linux-musl-x86_64\.tar\.gz$
^CodexBarCLI-v${MARKETING_VERSION}-linux-musl-x86_64\.tar\.gz\.sha256$'
