summaryrefslogtreecommitdiff
path: root/manualPorts/jamulus/lastVersion.sh
blob: 2f498fde424a08b24fd09db9496dfafeb8fd5db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

curl -Ss 'https://github.com/jamulussoftware/jamulus/releases' \
| tr '"' '\n' \
| sed '
  s@^/jamulussoftware/jamulus/archive/r\([-0-9._]*\)\.tar\.gz$@\1@
  y/_/./
  t
  d
' \
| sort -V \
| tail -n1