Skip to content

Commit 3bcab58

Browse files
myasnikovdaniillexfrei
authored andcommitted
ci(release): order skipped EOL branches numerically in the log
Address review feedback from lexfrei on .github/workflows/auto-release.yaml:82: the skipped-branches log used a lexicographic sort (release-0.9 after release-0.41). Reuse the existing lineNum helper so the log lists EOL branches in numeric order. Assisted-By: Claude <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent 8c4cfe8 commit 3bcab58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/auto-release.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
.sort((a, b) => lineNum(b) - lineNum(a))
8080
.slice(0, SUPPORTED_LINE_COUNT);
8181
82-
const skipped = allBranches.filter(b => !branches.includes(b)).sort();
82+
const skipped = allBranches.filter(b => !branches.includes(b)).sort((a, b) => lineNum(a) - lineNum(b));
8383
console.log(`Found ${allBranches.length} release branches; auto-releasing the ${SUPPORTED_LINE_COUNT} newest: ${branches.join(', ')}`);
8484
if (skipped.length) {
8585
console.log(`Skipping ${skipped.length} EOL release branches: ${skipped.join(', ')}`);

0 commit comments

Comments
 (0)