summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-06-19 17:20:13 -0400
committerFrank <[email protected]>2025-06-19 17:20:13 -0400
commit261bb7f1104a13390731d8e389ac92fb02a6de26 (patch)
tree47c5100724f57a6e8664a2b2d9c1a26e986d7034 /infra
parent0515fbb260a7daaf4564464be5c750d29ce30fdd (diff)
downloadopencode-261bb7f1104a13390731d8e389ac92fb02a6de26.tar.gz
opencode-261bb7f1104a13390731d8e389ac92fb02a6de26.zip
Infra: fix DO tag
Diffstat (limited to 'infra')
-rw-r--r--infra/app.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/infra/app.ts b/infra/app.ts
index abe3e3642..1123e3a6b 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"],
}
},
},