Skip to main content
Work PRs end in develop. The road to production is a separate flow, with its own scripts and PRs opened by the platform team or Danibot.
develop to release as a candidate, release to master as a stable release, hotfix from master, and sync from master back to develop and release.

Promotion between branches

Long-lived branches

The tag is the source of truth for the version. Only master updates package.json, and the code reads the deployed version from APP_VERSION. Nobody edits versions by hand.

The flows

Danibot opens both sync PRs automatically after every release to master. The scripts exist for manual cases; they can also be launched from the “Open PR” workflow on GitHub.
1

Candidate

pnpm pr:rc opens chore(repo): cut release candidate <version>. Once merged, release gets a -rc.N tag.
2

Certification

The release train deploys the tag to certification (environment, migrations, mobile apps and monitoring) and runs the Wave 0 QA.
3

QA sign-off

The approver runs the sign-off workflow with the candidate’s tag.
4

Production

pnpm pr:release opens chore(repo): release <version>. Once merged, master gets the stable tag and the release train deploys it to production.
5

Sync

Danibot opens master → develop and master → release.

What it means for a work PR

  • Your change reaches production with the next candidate after it is merged into develop.
  • If it is behind a flag, it can ship with the flag off and be turned on later.
  • PRs targeting release and master run every CI lane. Do not open work PRs against those branches: only the flows on this page.
More details in the Releases section.