Skip to content

Commit 4e41a26

Browse files
committed
_bumper.sh: detect latest llvm release offered by debian-testing [ci skip]
1 parent c5f1026 commit 4e41a26

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_bumper.sh

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ export _BRANCH="${1:-}"
2626

2727
./_dl.sh bump
2828

29+
# Find out the latest llvm version offered by Debian testing
30+
31+
llvm_latest="$(curl --disable --user-agent '' --silent --fail --show-error \
32+
'https://packages.debian.org/search?keywords=llvm&searchon=names&suite=testing&section=all' \
33+
| hxclean | hxselect -i -c -s '\n' 'h3' \
34+
| grep -a -o -E 'llvm-[0-9]+' | sort -u | tail -1)"
35+
36+
echo; echo "export CW_CCSUFFIX='$(echo "${llvm_latest}" | cut -c 5-)' # ${llvm_latest}"
37+
2938
# Find out the latest docker image release:
3039

3140
name='debian'

0 commit comments

Comments
 (0)