blob: dc83e439c3e6aa2281ec3c2844de535015720f96 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
curl -Ss 'https://files.openscad.org/' \
| sed '
s@^.*<a href="openscad-\([0-9.]\+\)\.src\.tar\.gz">openscad-\1\.src\.tar\.gz</a>.*$@\1@
t
d
' \
| sort -V \
| tail -n1
|