forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathv1.json
More file actions
13 lines (13 loc) · 3.23 KB
/
Copy pathv1.json
File metadata and controls
13 lines (13 loc) · 3.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"codemagic_raw_sha256": "cc63bc1184b23c512af58c0ac6bea2633dc3ad7091847052c258c4b734f61ae3",
"codemagic_semantic_sha256": "de77d2cf26f37d90e534bd19b1a6cc271f4f4332c822f3012aa3ee13c8b58d7f",
"omi-desktop-swift-preview": {
"semantic_sha256": "2b1790543bb377b86d539f5ec2b0d61058758256c5e80d56d53586b498b14d03"
},
"omi-desktop-swift-release": {
"publication_script": "if [[ \"${PREVIEW_MODE:-false}\" == \"true\" ]]; then\n echo \"External previews do not create GitHub releases.\"\n exit 0\nfi\nset -euo pipefail\n\n# Keep symbol publication repairable: a Sentry credential outage must not\n# strand an otherwise signed and smoke-tested candidate. The exact,\n# UUID-verified dSYM is retained as a GitHub release artifact below.\nscripts/publish-desktop-debug-symbols.sh upload-best-effort \\\n --binary \"$APP_BUNDLE/Contents/MacOS/$BINARY_NAME\" \\\n --dsym \"$DSYM_PATH\"\n\nCHANGELOG_MD=$(python3 ../../.github/scripts/desktop-changelog.py latest-release --format markdown || echo \"- Bug fixes and improvements\")\n\n# Build changelog as pipe-separated string for KEY_VALUE_START\nCHANGELOG_PIPE=$(echo \"$CHANGELOG_MD\" | sed 's/^- //' | tr '\\n' '|' | sed 's/|$//')\n\nRELEASE_NOTES=\"## OMI Desktop v${VERSION}\n\n### What's New\n${CHANGELOG_MD}\n\n### Downloads\n- **DMG Installer**: For fresh installs, download the DMG below\n- **Auto-Update**: Existing users will receive this update automatically via Sparkle\n\n<!-- KEY_VALUE_START\nisLive: false\nchannel: candidate\nedSignature: ${ED_SIGNATURE}\nbetaEdSignature: ${BETA_ED_SIGNATURE}\nchangelog: ${CHANGELOG_PIPE}\nKEY_VALUE_END -->\"\n\n# A candidate is the immutable evidence container. Once published,\n# preserve its signed artifacts; retries resume Beta promotion below.\nif gh release view \"$CM_TAG\" --repo \"$GITHUB_REPO\" >/dev/null 2>&1; then\n echo \"GitHub release candidate already exists; preserving immutable evidence for $CM_TAG\"\nelse\n # The backend reservation is the authoritative Beta fence. It runs\n # only after package, signature, notarization, and signed smoke pass,\n # immediately before this workflow creates the immutable candidate.\n set -euo pipefail\n test -n \"${BETA_PROMOTION_TOKEN:-}\" || {\n echo \"ERROR: BETA_PROMOTION_TOKEN is required to reserve a canonical candidate\" >&2\n exit 1\n }\n curl --fail-with-body --silent --show-error \\\n --request POST \"${OMI_PYTHON_API_URL%/}/v2/desktop/beta/candidates/reserve\" \\\n --header \"Authorization: Bearer ${BETA_PROMOTION_TOKEN}\" \\\n --header 'Content-Type: application/json' \\\n --data \"{\\\"tag\\\":\\\"${CM_TAG}\\\"}\"\n gh release create \"$CM_TAG\" \\\n --repo \"$GITHUB_REPO\" \\\n --title \"Omi Desktop v${VERSION} (candidate)\" \\\n --notes \"$RELEASE_NOTES\" \\\n \"$SPARKLE_ZIP_PATH\" \\\n \"$DMG_PATH\" \\\n \"$BETA_SPARKLE_ZIP_PATH\" \\\n \"$BETA_DMG_PATH\" \\\n \"$DSYM_ARCHIVE\" \\\n \"$BUILD_DIR/desktop-smoke-result.json\" \\\n \"$BUILD_DIR/desktop-smoke-result-beta.json\"\n echo \"GitHub release candidate created: $CM_TAG\"\nfi\n",
"publication_script_sha256": "5f277933da2d6eee53f99c71463ec9b4a1f90afb176ca3c0ca681bdb6ed81036",
"semantic_sha256": "7f542733f8e14607b2da09386361fae35029d4e6fe8f2908aab7d1ede13629f1"
},
"schema_version": 1
}