Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/LocalBuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# PowerSync Swift SDK

## Run against a local kotlin build

* To run using the local kotlin build you need to apply the following change in the `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/powersync-ja/powersync-kotlin.git", exact: "x.y.z"), <-- Comment this
// .package(path: "../powersync-kotlin"), <-- Include this line and put in the path to you powersync-kotlin repo
```
* To quickly make a local build to apply changes you made in `powersync-kotlin` for local development in the Swift SDK run the gradle task `spmDevBuild` in `PowerSyncKotlin` in the `powersync-kotlin` repo. This will update the files and the changes will be reflected in the Swift SDK.
8 changes: 8 additions & 0 deletions docs/Release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# PowerSync Swift SDK

## Releasing

* Confirm every PR you want in the release has been merged into `main`.
* Update `CHANGELOG.md` with the changes.
* In GitHub actions on GitHub manually run the `Release PowerSync` action. You will be required to update the version and add release notes.
* If the release notes are complicated and don't fit on a single line it is easier to rather update those after the release is completed by updating the release notes in the new release.