Skip to content

Commit 217f772

Browse files
authored
chore: minor ci fixes (#994)
1 parent 507708e commit 217f772

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/changeset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
echo "$DIFF_OUTPUT"
6565
echo "---"
6666
67-
# Extract breaking changes from the output
68-
BREAKING_LINES=$(echo "$DIFF_OUTPUT" | grep -i "breaking" || true)
67+
# Check for "BREAKING CHANGES" header in the output (not "No breaking changes!")
68+
BREAKING_LINES=$(echo "$DIFF_OUTPUT" | grep "^BREAKING CHANGES" || true)
6969
7070
if [ -n "$BREAKING_LINES" ]; then
7171
echo "has_breaking=true" >> "$GITHUB_OUTPUT"

scripts/create_version.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ String generateChangelogEntry(SemanticVersion version, List<Change> changes) {
224224
};
225225

226226
for (final kind in ChangeKind.values) {
227+
if (kind == ChangeKind.chore) continue;
227228
for (final change in changes.where((c) => c.kind == kind)) {
228229
buffer.writeln('* ${prefixFor(change.kind)}: ${change.description}');
229230
}

0 commit comments

Comments
 (0)