Skip to content

Commit f19891e

Browse files
committed
Fix: Install the latest version of command line tools.
1 parent b610558 commit f19891e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
grep -B 1 -E 'Command Line Tools' |
4545
awk -F'*' '/^ +\*/ {print $2}' |
4646
sed 's/^ *//' |
47+
grep -iE '[0-9|.]' |
48+
sort |
4749
tail -n1
4850
register: su_list
4951
when: pkg_info.rc != 0 or compiler.rc != 0 or not clt.stat.exists

0 commit comments

Comments
 (0)