Skip to content

Commit c02d65e

Browse files
authored
Merge pull request #2787 from input-output-hk/djo/ci/support-hotfix-branches-in-backcompat-summary
fix(ci): support hotfix branches in backcompat workflow
2 parents 2c3dd53 + 1d0d30a commit c02d65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/backward-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
# Transform summary.json into Markdown table rows
260260
jq -r --arg CHECK_MARK "$CHECK_MARK" --arg CROSS_MARK "$CROSS_MARK" \
261261
'group_by(.tag) |
262-
sort_by(.[0].tag | tonumber) | reverse |
262+
sort_by(.[0].tag | sub("-[a-z]+$"; "") | tonumber) | reverse |
263263
.[] |
264264
{
265265
tag: .[0].tag,

0 commit comments

Comments
 (0)