-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: add release guide * docs: add local build guide
- Loading branch information
1 parent
566c924
commit 3afda29
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |