Skip to content

The open source coding agent.

TypeScript

Infra: fix DO tag

Frank261bb7f1104a
diff --git a/infra/app.ts b/infra/app.ts
index abe3e364292..1123e3a6b89 100644
--- a/infra/app.ts
+++ b/infra/app.ts
@@ -23,9 +23,10 @@ export const api = new sst.cloudflare.Worker("Api", {
},
])
args.migrations = {
- // oldTag: "v1",
- // newTag: "v1",
- newSqliteClasses: ["SyncServer"],
+ // Note: when releasing the next tag, make sure all stages use tag v2
+ oldTag: $app.stage === "production" ? "" : "v1",
+ newTag: $app.stage === "production" ? "" : "v1",
+ //newSqliteClasses: ["SyncServer"],
}
},
},