mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-25 17:15:02 +02:00
2.9 KiB
2.9 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 titlehighlights_pt: PT highlights separated by|highlights_en: EN highlights separated by|patterns_included: comma-separated pattern IDs (usenonewhen not applicable)technical_changes_pt: PT technical changes separated by|technical_changes_en: EN technical changes separated by|
Example inputs for a pattern release:
highlights_pt:Port de 8 padrões públicos factuais | Padronização de payload públicohighlights_en:Port of 8 factual public-safe patterns | Public payload standardizationpatterns_included:sanctioned_still_receiving,amendment_beneficiary_contracts,split_contracts_below_threshold,contract_concentration,embargoed_receiving,debtor_contracts,srp_multi_org_hitchhiking,inexigibility_recurrencetechnical_changes_pt:Provider community de 4 para 8 padrões | ETL criou relação Contract-REFERENTE_A-Bidtechnical_changes_en:Community provider expanded from 4 to 8 patterns | ETL created Contract-REFERENTE_A-Bid linkage
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) with explicit highlights, patterns, and technical changes.
- Uploads
release_manifest.jsonasset.
6) Post-release checklist
- Open the release page and confirm:
- version tag is correct,
- PT+EN notes are present,
- included patterns are explicitly listed (or marked as none),
- 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.