You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Release.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,15 @@
2
2
3
3
## How to make a release
4
4
5
-
1. Update `LIBRARY_VERSION`and `SWIFT_LIBRARY_VERSION`in `gradle.properties` in the root.
5
+
1. Update `LIBRARY_VERSION` in `gradle.properties` in the root.
6
6
2. Add an entry to the `CHANGELOG.md`.
7
7
3. Make a PR and merge it.
8
-
4. Once the PR is merged and in the `main` branch then manually run the Github action `Deploy to Sonatype`. This will create a release to Maven Central and will also update the version of the `powersync-kotlin` SPM package used in the Swift SDK. If the release contains changes pertaining to the Swift SDK you will need to update the `powersync-kotlin` SPM package version in that repo and make a release there as well.
8
+
4. Pull `main` (which now contains your merged PR) and create a tag matching the version, e.g.
9
+
`git tag v1.1.0`.
10
+
5. Push that tag and manually trigger the GitHub action `Release` on that tag. This will:
11
+
- Create a release to Maven Central.
12
+
- Create a draft release on Github.
13
+
- Attach a prebuild `XCFramework` zip-archive for the Swift SDK to the draft release.
14
+
6. Copy relevant entries from the changelog into the draft release and make it public!
15
+
7. To apply this release to the Swift SDK, update the `Package.swift` file to point at the framework
16
+
from that release. You can copy the SHA256 hashsum from the generated draft release notes.
0 commit comments