fix(release): recover desktop packaging artifacts

This commit is contained in:
Mohamed Boudra
2026-03-12 23:20:26 +07:00
parent 847e1d2c60
commit 4b5cb5a3e2
2 changed files with 12 additions and 0 deletions

View File

@@ -386,6 +386,17 @@ jobs:
set -euxo pipefail
appimage_dir="packages/desktop/src-tauri/target/release/bundle/appimage"
appdir_path="$appimage_dir/Paseo.AppDir"
existing_appimage="$(find "$appimage_dir" -maxdepth 1 -type f -name '*.AppImage' | head -n 1)"
if [ -n "$existing_appimage" ]; then
canonical_appimage="$appimage_dir/Paseo_${DESKTOP_VERSION}_amd64.AppImage"
if [ "$existing_appimage" != "$canonical_appimage" ]; then
mv "$existing_appimage" "$canonical_appimage"
fi
if [ ! -f "$canonical_appimage.sig" ]; then
npx tauri signer sign "$canonical_appimage"
fi
exit 0
fi
if [ ! -d "$appdir_path" ]; then
echo "::error::AppDir was not generated at $appdir_path"
exit 1

View File

@@ -293,6 +293,7 @@ async function installPackedWorkspaces(runtimeRoot, bundledNodeRoot, tarballs) {
[
npmCli,
"install",
"--include=optional",
"--omit=dev",
"--no-package-lock",
"--no-save",