Skip to content

Commit 206b201

Browse files
committed
fix(flathub): use root Cargo.lock for cargo-sources.json (#43)
The root Cargo.lock contains all workspace dependencies including 'keyring' from the launcher crate. Previously the workflow used desktop/src-tauri/Cargo.lock which was missing these dependencies.
1 parent 8c7ef28 commit 206b201

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/store-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,10 @@ jobs:
403403
- name: Generate cargo-sources.json
404404
if: steps.check.outputs.skip != 'true'
405405
run: |
406+
# Use root Cargo.lock which contains all workspace dependencies
407+
# (including 'keyring' from the launcher crate)
406408
python3 /tmp/flatpak-builder-tools/cargo/flatpak-cargo-generator.py \
407-
desktop/src-tauri/Cargo.lock \
409+
Cargo.lock \
408410
-o /tmp/cargo-sources.json
409411
410412
- name: Generate package-lock.json and node-sources.json

desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "shard-ui",
33
"private": true,
4-
"version": "0.1.20",
4+
"version": "0.1.21",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shard_ui"
3-
version = "0.1.20"
3+
version = "0.1.21"
44
description = "Shard launcher UI"
55
authors = ["you"]
66
edition = "2021"

desktop/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2.0.2",
33
"productName": "Shard Launcher",
4-
"version": "0.1.20",
4+
"version": "0.1.21",
55
"identifier": "sh.shard.launcher",
66
"build": {
77
"beforeDevCommand": "bun run dev",

launcher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shard"
3-
version = "0.1.20"
3+
version = "0.1.21"
44
edition = "2024"
55
description = "A minimal, content-addressed Minecraft launcher"
66
license = "MIT"

0 commit comments

Comments
 (0)