From d84816f677f215ef90c505c1ce3de332d18228c3 Mon Sep 17 00:00:00 2001 From: Adam Shiervani Date: Fri, 6 Nov 2026 14:17:27 +0100 Subject: [PATCH] Document the release process Releases from dev to main use a merge commit, so main keeps the history of dev and the next release pull request does not conflict. Deploys do not run migrations. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d8b7acd..9f3bbe7 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,12 @@ The reference defaults to `https://api.jetkvm.com`. Update checks that depend on the rollout table differ unless both databases have the same rollout percentages. +### Releases + +- Pull requests merge into `dev` with a squash merge. `dev` deploys to staging. +- A release is a pull request from `dev` to `main`, merged with a merge commit, not a squash merge, so `main` keeps the history of `dev`. `main` deploys to production. +- Deploys do not run database migrations. Before merging a change that adds one, run `npx prisma migrate deploy` against the database. The running code must work with the migrated schema. + ## Self-Hosting For self-hosting, use the default compose file which runs the complete stack: