fix paths

This commit is contained in:
Nikita Galaiko 2023-08-01 09:20:40 +02:00
parent 2cbe91e227
commit dc885c20b5

View File

@ -236,16 +236,22 @@ if [ "$os" = "macos" ]; then
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")" 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="$(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")" MACOS_UPDATER_SIG="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz.sig")"
cp "$MACOS_DMG" "$RELEASE_DIR" cp "$MACOS_DMG" "$RELEASE_DIR"
cp "$MACOS_UPDATER" "$RELEASE_DIR" cp "$MACOS_UPDATER" "$RELEASE_DIR"
cp "$MACOS_UPDATER_SIG" "$RELEASE_DIR" cp "$MACOS_UPDATER_SIG" "$RELEASE_DIR"
info "built:" info "built:"
info " - $RELEASE_DIR/$(basename "$MACOS_DMG")" info " - $RELEASE_DIR/$(basename "$MACOS_DMG")"
info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER")" info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER")"
info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER_SIG")" info " - $RELEASE_DIR/$(basename "$MACOS_UPDATER_SIG")"
elif [ "$os" = "linux" ]; then elif [ "$os" = "linux" ]; then
tree "$BUNDLE_DIR" APPIMAGE="$(find "$BUNDLE_DIR" -depth 1 -type f -name "*.AppImage")"
error "todo!"
cp "$APPIMAGE" "$RELEASE_DIR"
info "built:"
info " - $RELEASE_DIR/$(basename "$APPIMAGE")"
else else
error "unsupported os: $os" error "unsupported os: $os"
fi fi