Skip to content

Commit 0af8dbf

Browse files
Fix 0.4.2 release (#2670)
* Fix 0.4.2 release * Fix server release * Put npm bin dir in PATH before running pnpm prep during server build
1 parent ba0ecb6 commit 0af8dbf

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sd-desktop"
3-
version = "0.4.1"
3+
version = "0.4.2"
44

55
authors = ["Spacedrive Technology Inc <support@spacedrive.com>"]
66
default-run = "sd-desktop"

apps/desktop/src-tauri/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ async fn main() -> tauri::Result<()> {
206206
])
207207
.events(collect_events![DragAndDropEvent]);
208208

209+
#[cfg(debug_assertions)]
209210
builder
210211
.export(
211212
Typescript::default()

apps/server/docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG REPO_REF=main
33

44
#--
55

6-
FROM debian:bookworm as base
6+
FROM debian:bookworm AS base
77

88
ADD --chmod=644 --checksum=sha256:8bea540b2cd1a47c94555e746c75fd41a42847a46d8c8c36c7ab6dd9c8526ab4 \
99
https://gist.githubusercontent.com/HeavenVolkoff/ff7b77b9087f956b8df944772e93c071/raw \
@@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
1818

1919
#--
2020

21-
FROM base as build-base
21+
FROM base AS build-base
2222

2323
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
2424
apt-get install build-essential git sudo unzip wget curl python3 python-is-python3
@@ -44,7 +44,7 @@ WORKDIR /srv/spacedrive
4444

4545
#--
4646

47-
FROM build-base as web
47+
FROM build-base AS web
4848

4949
# Run pnpm install with docker cache
5050
RUN --mount=type=cache,target=/root/.local/share/pnpm/store --mount=type=cache,target=/root/.cache/pnpm/metadata \
@@ -56,7 +56,7 @@ RUN pnpm web build
5656

5757
#--
5858

59-
FROM build-base as server
59+
FROM build-base AS server
6060

6161
RUN wget -qO- https://sh.rustup.rs | sh -s -- -yq --profile minimal
6262

@@ -74,10 +74,10 @@ RUN curl -L# 'https://github.com/rui314/mold/releases/download/v2.4.0/mold-2.4.0
7474
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
7575
env CI=true ./scripts/setup.sh
7676

77-
RUN cd ./scripts; npm i --production
77+
RUN cd ./scripts; npm i --omit=dev && npm i -g prisma
7878

7979
RUN --mount=type=cache,target=/root/.cache/prisma/binaries/cli/ \
80-
pnpm prep
80+
env PATH="$(npm prefix -g)/bin:$PATH" pnpm prep
8181

8282
COPY --from=web /srv/spacedrive/apps/web/dist /srv/spacedrive/apps/web/dist
8383

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sd-core"
3-
version = "0.4.1"
3+
version = "0.4.2"
44

55
authors = ["Spacedrive Technology Inc <support@spacedrive.com>"]
66
description = "Virtual distributed filesystem engine that powers Spacedrive."

0 commit comments

Comments
 (0)