summaryrefslogtreecommitdiff
path: root/manualPorts/jamulus/lastVersion.sh
blob: 14074ca0afe81dc6b34ea8566679de4b25e3c640 (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/refs/tags/r\([-0-9._]*\)\.tar\.gz$@\1@
  y/_/./
  t
  d
' \
| sort -V \
| tail -n1