blob: 05d7f8683ac252be90e83e44d5d727a8fc2df5aa (
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/archive/v\([0-9.]\+\)\.tar\.gz$,\1,
t
d
' | \
sort -V | \
tail -n1
|