Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
libssl-dev \
libwebkit2gtk-4.1-dev \
patchelf \
squashfs-tools \
wget

- name: Install frontend dependencies
Expand All @@ -80,6 +81,22 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: bun run tauri build --bundles deb,appimage

- name: Strip bundled libwayland from AppImage
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: |
shopt -s nullglob
appimages=(target/release/bundle/appimage/*.AppImage)
if [[ "${#appimages[@]}" -ne 1 ]]; then
printf 'Expected exactly one AppImage, found %s:\n' "${#appimages[@]}"
if [[ "${#appimages[@]}" -gt 0 ]]; then
printf ' %s\n' "${appimages[@]}"
fi
exit 1
fi
bun run pickforge-tauri-release fix-appimage --appimage "${appimages[0]}"

- name: Upload debug symbols to Sentry
if: startsWith(github.ref, 'refs/tags/')
env:
Expand Down
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/releases/UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ then reset this file.

## Internal/release changes

- None yet.
- Release workflow now strips bundled `libwayland` libraries from AppImage
builds and re-signs the AppImage before collecting release assets.

## Validation

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"phosphor-svelte": "^3.1.0"
},
"devDependencies": {
"@pickforge/tauri-release": "0.1.1",
"@pickforge/tauri-release": "^0.3.0",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tauri-apps/cli": "^2.9.3",
"@vitest/coverage-v8": "4.1.9",
Expand Down