Skip to content

Commit a6235dc

Browse files
committed
ci(runner): missing commits in gh release changelog
1 parent d99d61b commit a6235dc

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/runner-publish.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,14 @@ jobs:
129129
git fetch --unshallow || true
130130
131131
if [ -z "$PREV_TAG" ]; then
132-
LOG=$(git log "$TAG" -- packages/extester-runner --pretty=format:'%s (%h)')
132+
# First tag: include everything reachable from it
133+
LOG=$(git log "$TAG" --reverse -- packages/extester-runner --no-merges --pretty=format:'%s (%h)')
134+
if [ -z "$LOG" ]; then
135+
# Still empty? Fallback to full history
136+
LOG=$(git log --reverse -- packages/extester-runner --no-merges --pretty=format:'%s (%h)')
137+
fi
133138
else
134-
LOG=$(git log "$PREV_TAG..$TAG" -- packages/extester-runner --pretty=format:'%s (%h)')
139+
LOG=$(git log "$PREV_TAG..$TAG" -- packages/extester-runner --no-merges --pretty=format:'%s (%h)')
135140
fi
136141
137142
if [ -z "$LOG" ]; then
@@ -151,11 +156,11 @@ jobs:
151156
}
152157
153158
{
154-
format_section 'feat|feature' "🚀 Features"
155-
format_section 'fix' "🚫 Bugs"
156-
format_section 'test' "🔎 Tests"
157-
format_section 'chore|refactor|internal|ci|docs' "🔧 Maintenance"
158-
format_section 'deps|dependencies' "📦 Dependencies"
159+
format_section '^feat|^feature' "🚀 Features"
160+
format_section '^fix' "🚫 Bugs"
161+
format_section '^test' "🔎 Tests"
162+
format_section '^chore|^refactor|^internal|^ci|^docs' "🔧 Maintenance"
163+
format_section '^deps|^dependencies' "📦 Dependencies"
159164
160165
# Other commits not matching any above
161166
OTHER=$(echo "$LOG" | grep -vE '^(feat|feature|fix|test|chore|refactor|internal|ci|docs|deps|dependencies)' || true)

0 commit comments

Comments
 (0)