File tree Expand file tree Collapse file tree
changes/archive/2026-02-28-github-releases/specs/ci-publishing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 docker push $DOCKERHUB_REPO:latest
9898 docker push $DOCKERHUB_REPO:$TAG_NAME
9999
100- - name : Extract Release Notes
101- id : extract_notes
102- run : |
103- awk '/^## \[/ { if (p) exit; p=1; next } p' CHANGELOG.md > release_notes.md
104-
105100 - name : Create GitHub Release
106101 uses : softprops/action-gh-release@v2
107102 with :
108- body_path : release_notes.md
103+ generate_release_notes : true
Original file line number Diff line number Diff line change 22
33### Requirement: Automated GitHub Releases
44The pipeline SHALL automatically create a GitHub Release when a ` v*.*.* ` semantic version tag is pushed.
5- - The release MUST include release notes extracted from the ` CHANGELOG.md ` corresponding to the latest release block .
5+ - The release MUST automatically generate release notes containing the commit messages/PRs since the last tag .
66- The release MUST be created using the ` GITHUB_TOKEN ` provided by the Actions runner.
77
88#### Scenario: Creating a release on tag push
99- ** WHEN** a semantic version tag (e.g., ` v1.0.0 ` ) is pushed and tests pass
1010- ** THEN** a GitHub Release is created for the tag
11- - ** THEN** the release body contains the relevant changelog notes
11+ - ** THEN** the release body contains the auto-generated commit log
Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ The CI pipeline SHALL include automated workflows that check for updates to crit
7474
7575### Requirement: Automated GitHub Releases
7676The pipeline SHALL automatically create a GitHub Release when a ` v*.*.* ` semantic version tag is pushed.
77- - The release MUST include release notes extracted from the ` CHANGELOG.md ` corresponding to the latest release block .
77+ - The release MUST automatically generate release notes containing the commit messages/PRs since the last tag .
7878- The release MUST be created using the ` GITHUB_TOKEN ` provided by the Actions runner.
7979
8080#### Scenario: Creating a release on tag push
8181- ** WHEN** a semantic version tag (e.g., ` v1.0.0 ` ) is pushed and tests pass
8282- ** THEN** a GitHub Release is created for the tag
83- - ** THEN** the release body contains the relevant changelog notes
83+ - ** THEN** the release body contains the auto-generated commit log
You can’t perform that action at this time.
0 commit comments