Skip to content

Simplify release process for Swift build #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 7, 2025
Merged

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented May 7, 2025

This removes the kmmbridge invocation when publishing our SDK. Instead, this moves towards a model where we tag our releases and create GitHub releases for them. An action will compile our XCFramework and attach it to these releases, which we can then use as a binaryTarget() source in our Swift SDK.

This means that:

  1. We stop publishing a SwiftPM build from here - users no longer need to close this repository as part of their Swift build.
  2. We no longer upload XCFrameworks to maven central - only the Kotlin SDK itself will be uploaded going forward.
  3. Our Swift SDK will always use a fixed download URL, there's no longer a way to update the Kotlin SDK and those changes reaching downstream Swift users without us updating the Swift SDK too.

I have updated the documentation on the release process here. For testing purposes, I copied the steps creating the release into a temporary GH action. We can use that temporary release as 1.1.0 (since the Kotlin SDK has already been published) and then use the automation for subsequent releases.

The Swift SDK integrates these changes in: powersync-ja/powersync-swift#46

@simolus3 simolus3 requested a review from stevensJourney May 7, 2025 10:57
@simolus3 simolus3 merged commit 2fd1d1a into main May 7, 2025
3 checks passed
@simolus3 simolus3 deleted the refactor-swift-release branch May 7, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants