Fix branch list including dev branches

This commit is contained in:
embeddedt 2023-08-03 11:29:04 -04:00
parent 24792b96cc
commit ac827a0f42
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -1,2 +1,2 @@
#!/bin/bash
git ls-remote --heads origin | awk '{print $2}' | sed 's:.*/::' | sort -V | grep -E '^1\.[0-9]*(\.[0-9]*)?$'
git ls-remote --heads origin | awk '{print $2}' | grep -E '^refs/heads/1\.' | sed 's:.*/::' | sort -V | grep -E '^1\.[0-9]*(\.[0-9]*)?$'