mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-25 17:15:02 +02:00
1.8 KiB
1.8 KiB
Release Runbook
This runbook describes how maintainers publish releases in World-Open-Graph/br-acc.
Preconditions
- Target commit is on
main. - Required checks are green.
- PRs merged for the milestone have release labels.
- Draft release content is reviewed.
1) Confirm draft notes
- Open GitHub -> Releases -> Drafts.
- Verify sections and ordering.
- Ensure PT-BR and EN scope are clear.
2) Pick version
Apply SemVer policy:
- MAJOR: incompatible behavior/contract changes.
- MINOR: additive user-facing changes.
- PATCH: compatible fixes.
For validation cycles use RC:
vX.Y.Z-rc.N
3) Run publish workflow
- Open Actions -> Publish Release.
- Click Run workflow.
- Fill inputs:
version: e.g.v0.3.0target_sha: commit SHA onmainprerelease:truefor RC,falsefor stabletitle_pt: short PT-BR titletitle_en: short EN title
4) Workflow validations performed
The workflow blocks publication when:
- tag is not SemVer-compliant,
- tag already exists,
- target SHA does not exist,
- target SHA is not reachable from
origin/main.
5) Output produced
On success the workflow:
- Creates and pushes an annotated tag.
- Creates GitHub Release (PT+EN notes).
- Uploads
release_manifest.jsonasset.
6) Post-release checklist
- Open the release page and confirm:
- version tag is correct,
- PT+EN notes are present,
- non-accusatory disclaimer line is present,
release_manifest.jsonis attached.
- Share release link in community channels.
- If stable release follows RC, update milestone board status.
7) Rollback guidance
If notes are wrong but code is correct:
- edit release notes in GitHub UI.
If tag points to wrong commit:
- Delete release,
- delete remote tag,
- re-run workflow with correct SHA and same/new version according to policy.