Add auto-sync for binary repo and update integration docs#845
Conversation
- Add individual checksum outputs to build-xcframework action - Add update-binary-repo job to release workflow that auto-updates OpenSwiftUI-spm Package.swift from template on each release - Add binary integration section to INTEGRATION.md - Rename OpenSwiftUI-binary to OpenSwiftUI-spm
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #845 +/- ##
==========================================
+ Coverage 26.85% 26.86% +0.01%
==========================================
Files 671 671
Lines 43470 43470
==========================================
+ Hits 11674 11679 +5
+ Misses 31796 31791 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🤖 Augment PR SummarySummary: Automates keeping the binary SwiftPM repo in sync with OpenSwiftUI releases. Changes:
Technical Notes: The release workflow now publishes individual checksum outputs so downstream jobs can safely template 🤖 Was this summary useful? React with 👍 or 👎 |
| git add Package.swift | ||
| git diff --cached --quiet && echo "No changes" && exit 0 | ||
| git commit -m "Update to ${VERSION} with code-signed XCFrameworks" | ||
| git tag "${VERSION}" |
There was a problem hiding this comment.
git clone will fetch existing tags, so on a workflow re-run for the same release git tag "${VERSION}" is likely to fail because the tag already exists locally; consider making this step resilient so re-runs don’t turn the workflow red unnecessarily.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Summary
codesign-xcframeworkaction with individual checksum outputsupdate-binary-repojob to release workflow that auto-updates OpenSwiftUI-spmPackage.swiftfrom template on each releaseSetup required
BINARY_REPO_PATorg secret (already configured)Test plan