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

curl -Ss "https://git.eckner.net/Erich/Make/refs/" | \
  tr '<>' '\n' | \
  sed -n "
    s,^a href='/Erich/Make/snapshot/Make-\([0-9.]\+\)\.tar\.xz'$,\1,
    T
    p
  " | \
  sort -V | \
  tail -n1