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

curl -Ss 'https://github.com/bareos/bareos/releases' \
| tr '"' '\n' \
| sed '
  s@^/bareos/bareos/releases/tag/Release%2F@@
  t
  d
' \
| sort -V \
| tail -n1