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

curl -Ss 'https://github.com/ukoethe/vigra/releases/' | \
  tr '<>' '\n' | \
  sed '
    s@^Version \([0-9.]\+\)$@\1@
    t
    d
  ' | \
  sort -V | \
  tail -n1