|
1 | 1 | name: release
|
2 | 2 | on:
|
3 |
| - workflow_dispatch: |
4 |
| - inputs: |
5 |
| - publish: |
6 |
| - type: boolean |
7 |
| - required: false |
8 |
| - default: false |
9 |
| - description: Set to true to publish artifacts to external targets such as Maven Central |
| 3 | + push: |
| 4 | + tags: |
| 5 | + - v[0-9]+.[0-9]+.[0-9]+ |
10 | 6 | jobs:
|
11 | 7 | draft_release:
|
12 | 8 | if: github.event_name == 'workflow_dispatch'
|
|
63 | 59 | name: android-library
|
64 | 60 |
|
65 | 61 | - name: Publish to Maven Central
|
66 |
| - if: ${{ inputs.publish }} |
67 | 62 | run: |
|
68 | 63 | curl --request POST \
|
69 | 64 | --header 'Authorization: Bearer ${{ secrets.CENTRAL_AUTH }}' \
|
@@ -313,3 +308,49 @@ jobs:
|
313 | 308 | repo-token: ${{ secrets.GITHUB_TOKEN }}
|
314 | 309 | file-name: libpowersync-wasm.a
|
315 | 310 | tag: ${{ needs.draft_release.outputs.tag }}
|
| 311 | + |
| 312 | + create_sdk_issue: |
| 313 | + name: "Create issue for SDK updates" |
| 314 | + permissions: |
| 315 | + issues: write |
| 316 | + runs-on: macos-latest |
| 317 | + needs: |
| 318 | + - draft_release |
| 319 | + - publish_android |
| 320 | + - publish_ios_pod_and_spm_package |
| 321 | + - publish_linux_x86_64 |
| 322 | + - publish_linux_aarch64 |
| 323 | + - publish_windows_x64 |
| 324 | + - publish_macOS_aarch64 |
| 325 | + - publish_macOS_x64 |
| 326 | + - publish_wasm |
| 327 | + steps: |
| 328 | + - name: Create issue |
| 329 | + run: | |
| 330 | + gh issue create \ |
| 331 | + --title "$TITLE" \ |
| 332 | + --assignee "$ASSIGNEES" \ |
| 333 | + --body "$BODY" |
| 334 | + env: |
| 335 | + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 336 | + GH_REPO: ${{ github.repository }} |
| 337 | + TITLE: "Release checklist: ${{ needs.draft_release.outputs.tag }}" |
| 338 | + ASSIGNES: ${{ github.event.push.sender }} |
| 339 | + BODY: | |
| 340 | + This is a checklist to track the release of ${{ needs.draft_release.outputs.tag }}. |
| 341 | + |
| 342 | + Core build (this repo): |
| 343 | + * [x] GitHub Release |
| 344 | + * [ ] Android aar released on Maven Central |
| 345 | + * [ ] Cocoapod released |
| 346 | +
|
| 347 | + SQLite + powersync bundles: |
| 348 | + * [ ] react-native-quick-sqlite: |
| 349 | + * [ ] wa-sqlite build: |
| 350 | + * [ ] sql.js dev adapter: |
| 351 | +
|
| 352 | + User-facing SDK updates: |
| 353 | + * [ ] powersync.dart: |
| 354 | + * [ ] powersync-js: |
| 355 | + * [ ] kotlin: |
| 356 | + * [ ] swift: |
0 commit comments