Skip to content

Commit 2773b93

Browse files
streamkit-devinstaging-devin-ai-integration[bot]
authored andcommitted
fix(ci): compare release changelog against previous streamkit tag only
Co-Authored-By: Staging-Devin AI <166158716+staging-devin-ai-integration[bot]@users.noreply.github.com>
1 parent 8a12b00 commit 2773b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
105105
# Simple changelog from git log (can be enhanced with git-cliff later)
106106
echo "## What's Changed" > changelog.md
107-
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
107+
PREV_TAG=$(git describe --tags --abbrev=0 --match 'v[0-9]*' HEAD^ 2>/dev/null || echo "")
108108
if [ -n "$PREV_TAG" ]; then
109109
git log --pretty=format:"- %s (%h)" ${PREV_TAG}..HEAD >> changelog.md
110110
else

0 commit comments

Comments
 (0)