#!/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