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

curl 'https://github.com/ukoethe/vigra/releases/' 2> /dev/null | \
  tr '<>' '\n\n' | \
  grep '^vigra-[0-9.]\+-src\.tar\.gz$' | \
  sed 's|^vigra-\([0-9.]\+\)-src\.tar\.gz$|\1|' | \
  sort -V | \
  tail -n1