Skip to content

Commit

Permalink
docs: add release guide (#18)
Browse files Browse the repository at this point in the history
* docs: add release guide

* docs: add local build guide
  • Loading branch information
DominicGBauer authored Feb 7, 2025
1 parent 566c924 commit 3afda29
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
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.

0 comments on commit 3afda29

Please sign in to comment.