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

curl -Ss 'https://gitlab.gnome.org/GNOME/gdl/-/tags' \
| sed '
  s@^.* href="/GNOME/gdl/-/tags/GDL_\([0-9_]\+\)">GDL_\1</a>.*$@\1@
  y/_/./
  t
  d
' \
| sort -V \
| tail -n1