From dc885c20b5cfa4bbdf03fb8285367538d1748f75 Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Tue, 1 Aug 2023 09:20:40 +0200 Subject: [PATCH] fix paths --- scripts/release.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 0fe725c59..dad35f546 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -236,16 +236,22 @@ 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")" MACOS_UPDATER_SIG="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz.sig")" + cp "$MACOS_DMG" "$RELEASE_DIR" cp "$MACOS_UPDATER" "$RELEASE_DIR" cp "$MACOS_UPDATER_SIG" "$RELEASE_DIR" + info "built:" info " - $RELEASE_DIR/$(basename "$MACOS_DMG")" info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER")" info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER_SIG")" elif [ "$os" = "linux" ]; then - tree "$BUNDLE_DIR" - error "todo!" + APPIMAGE="$(find "$BUNDLE_DIR" -depth 1 -type f -name "*.AppImage")" + + cp "$APPIMAGE" "$RELEASE_DIR" + + info "built:" + info " - $RELEASE_DIR/$(basename "$APPIMAGE")" else error "unsupported os: $os" fi