Skip to content

Commit 4e257cd

Browse files
committed
Use manual publishing for tauri crate
1 parent 69a53b4 commit 4e257cd

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: release
1+
name: Release tauri plugin crate
22
on:
3-
push:
4-
tags:
5-
- tauri-plugin-powersync@[0-9]+.[0-9]+.[0-9]+
3+
workflow_dispatch:
64

75
jobs:
86
publish_crates_io:
@@ -14,8 +12,8 @@ jobs:
1412
- uses: rust-lang/crates-io-auth-action@v1
1513
id: auth
1614

17-
- name: Publish powersync crate
15+
- name: Publish tauri-plugin-powersync crate
1816
run: cargo publish
19-
working-directory: powersync
17+
working-directory: packages/tauri
2018
env:
2119
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

packages/tauri/releasing.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The `@powersync/tauri-plugin` npm package is versioned through changesets.
2+
3+
The version of the `tauri-plugin-powersync` crate is also managed by changesets,
4+
but we can't reliably publish to crates.io through that automation.
5+
6+
If the Rust crate should get published, manually run the "Release tauri plugin crate"
7+
workflow on a `tauri-plugin-powersync@<version>` tag created by changesets.

0 commit comments

Comments
 (0)