Skip to content

Commit e735bd2

Browse files
jongioCopilot
andcommitted
fix(release): use inline grep for changelog gate, add v0.10.9 entry
The mage binary is not installed in the release CI runner and magefile.go cannot be invoked with 'go run' due to its build tag. Replace with inline grep which has no dependencies. Co-authored-by: Copilot <[email protected]>
1 parent 4d0e232 commit e735bd2

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ jobs:
118118
env:
119119
RELEASE_VERSION: v${{ steps.version.outputs.version }}
120120
run: |
121-
go run mage.go -w . ChangelogCheck
121+
if ! grep -q "## \[${RELEASE_VERSION}\]" CHANGELOG.md; then
122+
echo "::error::CHANGELOG.md has no entry for ${RELEASE_VERSION} -- add one before releasing"
123+
exit 1
124+
fi
125+
echo "Found changelog entry for ${RELEASE_VERSION}"
122126
123127
- name: Create and push tag
124128
run: |

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
66

7+
## [v0.10.9] — 2026-06-07
8+
9+
### Fixed
10+
- Release workflow changelog gate now uses inline grep (mage not available in CI runner)
11+
712
## [v0.10.8] — 2026-06-07
813

914
### Fixed

0 commit comments

Comments
 (0)