fix(release): recover desktop packaging artifacts
This commit is contained in:
@@ -386,6 +386,17 @@ jobs:
|
|||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
appimage_dir="packages/desktop/src-tauri/target/release/bundle/appimage"
|
appimage_dir="packages/desktop/src-tauri/target/release/bundle/appimage"
|
||||||
appdir_path="$appimage_dir/Paseo.AppDir"
|
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
|
if [ ! -d "$appdir_path" ]; then
|
||||||
echo "::error::AppDir was not generated at $appdir_path"
|
echo "::error::AppDir was not generated at $appdir_path"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -293,6 +293,7 @@ async function installPackedWorkspaces(runtimeRoot, bundledNodeRoot, tarballs) {
|
|||||||
[
|
[
|
||||||
npmCli,
|
npmCli,
|
||||||
"install",
|
"install",
|
||||||
|
"--include=optional",
|
||||||
"--omit=dev",
|
"--omit=dev",
|
||||||
"--no-package-lock",
|
"--no-package-lock",
|
||||||
"--no-save",
|
"--no-save",
|
||||||
|
|||||||
Reference in New Issue
Block a user