#!/bin/bash

curl -Ss 'https://github.com/zenorogue/hyperrogue/tags' \
| sed '
  s,^.*<a href="/zenorogue/hyperrogue/releases/tag/v\([0-9]\+\.[0-9]\+[a-z]\?\)".*$,\1,
  t
  d
' \
| sort -V \
| tail -n1