diff --git a/list_versions.sh b/list_versions.sh new file mode 100755 index 0000000000000..5bfa3122d6d76 --- /dev/null +++ b/list_versions.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Get all version branches +BRANCHES=$(git branch -r | grep origin/flutter_release) + +echo "Flutter versions:" +for branch in $BRANCHES; do + REV=$(git rev-parse $branch) + echo "$branch $REV" +done