Skip to content

Commit 4ec8ef7

Browse files
committed
Fix scripts not detecting 26.1 branch
1 parent 3f22e23 commit 4ec8ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/branchlist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
git ls-remote --heads origin | awk '{print $2}' | grep -E '^refs/heads/1\.' | sed 's:.*/::' | sort -V | grep -E '^1\.[0-9]*(\.[0-9]*)?$'
2+
git ls-remote --heads origin | awk '{print $2}' | grep -E '^refs/heads/[0-9]+\.' | sed 's:.*/::' | sort -V | grep -E '^[0-9]+\.[0-9]*(\.[0-9]*)?$'

0 commit comments

Comments
 (0)