Repository navigation
Closed
Labels
priority: highHigh prioritystatus: in progressCurrently being worked ontype: ci / cdRelated to continuous integration / deliveryworkload: hoursLikely takes hours to resolve
Description
Every release workflow in the organisation should create its GitHub release itself, in the organisation's release notes format, instead of leaving it to a manual step after the tag:
- the curated notes of the release (intro paragraph and grouped sections: Breaking changes, Features, Security, Fixes, Documentation, Maintenance), kept in the repository, e.g.,
docs/releases/X.Y.Z.md; ## Commits: GitHub's generated notes, verbatim (including "New Contributors"), without their## What's Changedheader;- last, GitHub's generated
**Full Changelog**: …line.
Releases are marked as pre-releases until 1.0.0 (and for a/b/rc versions).
FOCA does this in its own release workflow (publish job and scripts/release_notes.py). This issue adds a shared composite action, actions/publish-release, so that the other repositories (first: tesk-api v1.2.0) share one implementation:
- inputs: the tag, the path of the curated notes, the pre-release policy (
auto: pre-release below 1.0.0 or fora/b/rcversions), an optional previous tag (default: detected from the published releases, else from the tags); - a check-only mode for the
preparejob, so that the notes are checked before anything is published; - generates GitHub's notes (
releases/generate-notes), merges them with the curated notes, and creates the release withgh release create --verify-tag; - fails clearly if a release (or a draft) of the tag exists already; needs nothing but the job's
GITHUB_TOKENwithcontents: write; - tests, a README, and an entry in the repository's README.
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritystatus: in progressCurrently being worked ontype: ci / cdRelated to continuous integration / deliveryworkload: hoursLikely takes hours to resolve
Activity