From 04524fbc2cfe3123624670491bfd213434c718cd Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Thu, 7 Sep 2023 17:29:27 +0200 Subject: [PATCH] build debs --- packages/tauri/tauri.conf.json | 2 +- scripts/release.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/tauri/tauri.conf.json b/packages/tauri/tauri.conf.json index 6bef2116a..e1c9b488f 100644 --- a/packages/tauri/tauri.conf.json +++ b/packages/tauri/tauri.conf.json @@ -51,7 +51,7 @@ "icons/dev/icon.icns", "icons/dev/icon.ico" ], - "targets": ["app", "dmg", "appimage", "updater"] + "targets": ["app", "dmg", "appimage", "deb", "updater"] }, "systemTray": { "iconPath": "icons/tray.png", diff --git a/scripts/release.sh b/scripts/release.sh index 729c7c5f1..8157545df 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -233,6 +233,8 @@ BUNDLE_DIR=$(readlink -f "$PWD/../target/release/bundle") RELEASE_DIR="$DIST/$OS/$ARCH" mkdir -p "$RELEASE_DIR" +find $RELEASE_DIR -type f + if [ "$OS" = "macos" ]; then MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")" MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"