Commit 38f7144
fix(scripts): filter non-version tags in changelog auto-generation (#1444)
The prerelease-tarball workflow creates a floating `prerelease` tag on
every push to main. When bump-version.ts auto-generates the changelog,
`git describe --tags --abbrev=0` picks up this tag instead of the last
version tag, resulting in `git log prerelease..HEAD` returning 0 commits
and an empty changelog section.
Add `--match 'v*'` to only consider version tags.
Co-authored-by: jariy17 <tjariy+jariy17@users.noreply.github.com>1 parent dbe34ac commit 38f7144
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments