Skip to content

Commit 4838ddf

Browse files
committed
feat: bump default railpack version to 0.3.0
1 parent ff20bb2 commit 4838ddf

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \
5858
&& pnpm install -g tsx
5959

6060
# Install Railpack
61-
ARG RAILPACK_VERSION=0.2.2
61+
ARG RAILPACK_VERSION=0.3.0
6262
RUN curl -sSL https://railpack.com/install.sh | bash
6363

6464
# Install buildpacks

apps/dokploy/__test__/drop/drop.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (typeof window === "undefined") {
2525
}
2626

2727
const baseApp: ApplicationNested = {
28-
railpackVersion: "0.2.2",
28+
railpackVersion: "0.3.0",
2929
applicationId: "",
3030
herokuVersion: "",
3131
giteaBranch: "",

apps/dokploy/__test__/traefik/traefik.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createRouterConfig } from "@dokploy/server";
33
import { expect, test } from "vitest";
44

55
const baseApp: ApplicationNested = {
6-
railpackVersion: "0.2.2",
6+
railpackVersion: "0.3.0",
77
rollbackActive: false,
88
applicationId: "",
99
herokuVersion: "",

apps/dokploy/components/dashboard/application/build/show.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const mySchema = z.discriminatedUnion("buildType", [
6565
}),
6666
z.object({
6767
buildType: z.literal(BuildType.railpack),
68-
railpackVersion: z.string().nullable().default("0.2.2"),
68+
railpackVersion: z.string().nullable().default("0.3.0"),
6969
}),
7070
z.object({
7171
buildType: z.literal(BuildType.static),
@@ -186,7 +186,7 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
186186
data.buildType === BuildType.static ? data.isStaticSpa : null,
187187
railpackVersion:
188188
data.buildType === BuildType.railpack
189-
? data.railpackVersion || "0.2.2"
189+
? data.railpackVersion || "0.3.0"
190190
: null,
191191
})
192192
.then(async () => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ALTER TABLE "application" ADD COLUMN "railpackVersion" text DEFAULT '0.2.2';
1+
ALTER TABLE "application" ADD COLUMN "railpackVersion" text DEFAULT '0.3.0';

apps/dokploy/drizzle/meta/0104_snapshot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
"type": "text",
482482
"primaryKey": false,
483483
"notNull": false,
484-
"default": "'0.2.2'"
484+
"default": "'0.3.0'"
485485
},
486486
"herokuVersion": {
487487
"name": "herokuVersion",

apps/dokploy/drizzle/meta/0105_snapshot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
"type": "text",
482482
"primaryKey": false,
483483
"notNull": false,
484-
"default": "'0.2.2'"
484+
"default": "'0.3.0'"
485485
},
486486
"herokuVersion": {
487487
"name": "herokuVersion",

packages/server/src/db/schema/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const applications = pgTable("application", {
168168
.notNull()
169169
.default("idle"),
170170
buildType: buildType("buildType").notNull().default("nixpacks"),
171-
railpackVersion: text("railpackVersion").default("0.2.2"),
171+
railpackVersion: text("railpackVersion").default("0.3.0"),
172172
herokuVersion: text("herokuVersion").default("24"),
173173
publishDirectory: text("publishDirectory"),
174174
isStaticSpa: boolean("isStaticSpa"),

packages/server/src/setup/server-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ const installRailpack = () => `
608608
if command_exists railpack; then
609609
echo "Railpack already installed ✅"
610610
else
611-
export RAILPACK_VERSION=0.2.2
611+
export RAILPACK_VERSION=0.3.0
612612
bash -c "$(curl -fsSL https://railpack.com/install.sh)"
613613
echo "Railpack version $RAILPACK_VERSION installed ✅"
614614
fi

0 commit comments

Comments
 (0)