feat(ci): automated changelog generation via git-cliff #38
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarman/tftsr-devops_investigation#38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/git-cliff-changelog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
cliff.tomlwith conventional-commit parsing (feat/fix/perf/docs/refactor shown; ci/chore/build excluded)CHANGELOG.mdfrom all existing semver tags (v0.1.0–v0.2.49)changelogjob toauto-tag.ymlthat runs afterautotagin parallel with build jobs: installs git-cliff v2.7.0 musl binary, generatesCHANGELOG.md, PATCHes the Gitea release body with grouped per-release notes, commitsCHANGELOG.mdto master with[skip ci], and uploads it as a release assetdocs/wiki/CICD-Pipeline.mdwith Changelog Generation sectionSecurity fixes applied during review
set -euadded to all changelog job shell stepsRELEASE_IDin both API-call steps (exit 1 on null)changelogjob creates the release if it does not yet exist (build jobs may still be compiling when changelog finishes in ~5 s)Test plan
auto-tag.yml; verifychangelogjob passes in Gitea Actions"Release vX.Y.Z"CHANGELOG.mdcommitted to master after CI (check git log)CHANGELOG.mdappears as downloadable release asset[skip ci]commit is skipped)23c5c4a8beto6d2b69ffb0