blob: 390117aa8202f49990dbde5fcec4f2fef45a1bdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
curl 'https://github.com/lz4/lz4/releases/' 2> /dev/null | \
tr '"' '\n' | \
sed '
s,^/lz4/lz4/releases/tag/v\([0-9.]\+\)$,\1,
t
d
' | \
sort -V | \
tail -n1
|