Release Notes Automation Backlog Stories¶
Context Summary¶
- Tracks the release-note publishing automation defined in
bf-release/Changes.gitlab-ci.yml. - Target outputs live in
evenergi/vemo/vemo-manage/docs/release-notes/, promotingunreleased(.internal).mdinto dated files underreleases/. - Default cadence uses
SCHEDULE="next tuesday", producing week code<YYYY.WW>, release date<ISO date>, and branchrelease-notes-<YYYY.WW>. - Current behavior has been exercised in GitLab, confirming successful clone, generation, and push to the target branch.
Current State¶
- Job
02 publish:releaseexists in stageStaging(changes)with rules: scheduled run whenPUBLISH_RELEASE == "true"; manual trigger otherwise. - Behavior: clones each project in
PROJECTS, refuses to overwrite an existing release file, generates dated release notes, resets base artifacts to the default template, and commits/pushes branchrelease-notes-<YYYY.WW>with messagedocs(release): publish release notes for <code> [skip ci]. - Validation: latest pipeline run confirmed successful end-to-end publishing to the target branch.
Automated weekly publication of release notes to Vemo Manage¶
User Story¶
As a release manager, I want weekly release notes to publish automatically to evenergi/vemo/vemo-manage so that the release branch is consistently prepared without manual copying.
Acceptance Criteria¶
- Scheduled pipeline with
PUBLISH_RELEASE=trueclones each project inPROJECTSand computescode=<YYYY.WW>anddate=<ISO date>fromSCHEDULE(default "next tuesday"). - For each base artifact
docs/release-notes/unreleased.mdanddocs/release-notes/unreleased.internal.md(when present), the job writes corresponding dated files underdocs/release-notes/releases/with front mattertitle: <code>andrelease_date: <date>followed by the prior artifact body. - Existing dated release files are not overwritten; the job logs a refusal when a target file already exists.
- After promotion, the base artifacts are reset to the default template defined in the CI job (empty Added/Changed/Fixed sections).
- Job commits and pushes branch
release-notes-<code>with messagedocs(release): publish release notes for <code> [skip ci]. - Manual invocation remains available in CI for ad-hoc publishing outside the schedule.
Dependencies¶
GITLAB_TOKENwith push access to every project listed inPROJECTS.- CI image
ghcr.io/cicirello/alpine-plus-plus:latestavailable in the pipeline environment.
Status¶
- Implemented and validated via GitLab pipeline run, which confirmed successful clone, generation, and push to the target branch.