blob: 7b67f6598f247e1a0442c38a8b8c3ef5c4fe1372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
curl -Ss 'https://github.com/scanmem/scanmem/releases' | \
tr '"' '\n' | \
sed '
s@^/scanmem/scanmem/archive/refs/tags/v\(.*\)\.tar\.gz$@\1@
t
d
' | \
sort -V | \
tail -n1
|