Use when asked to create release PRs, prepare releases, or deploy to test or nft environments for prsdb repositories.
Create release PRs for main -> test and main -> nft branches in both repositories:
communitiesuk/prsdb-infracommunitiesuk/prsdb-webappgit log origin/{target}..origin/main --oneline.TICKET: Brief descriptionExample:
## Release notes
PDJB-119: Send joint landlord invitations
PDJB-273: Join a registered property as a joint landlord
PDJB-467: Gas safety task, EICR task, EPC task
PRSD-1021: NGD Address Update Task Runner
PRSD-NONE: Fixes bug on windows, Updates test seed data
Release main to test #N (increment from last release)Release main to nft #N (increment from last release)# Check commits to release
git fetch origin
git log origin/test..origin/main --oneline
git log origin/nft..origin/main --oneline
# Check for existing draft PRs
gh pr list --repo communitiesuk/prsdb-webapp --state open --draft --search "Release main to test"
gh pr list --repo communitiesuk/prsdb-webapp --state open --draft --search "Release main to nft"
# Find previous release PR numbers
gh pr list --repo communitiesuk/prsdb-webapp --state all --search "Release main to test" --limit 5
gh pr list --repo communitiesuk/prsdb-webapp --state all --search "Release main to nft" --limit 5
# Update existing draft PR
gh pr edit {PR_NUMBER} --body "## Release notes
..."
# Or create new PR if no draft exists
gh pr create --base test --head main --title "Release main to test #N" --body "## Release notes
..."
gh pr create --base nft --head main --title "Release main to nft #N" --body "## Release notes
..."
prsdb-infra and prsdb-webapp repositories.