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

curl -Ss "https://github.com/brndnmtthws/conky/releases" | \
  tr "\"" "\n" | \
  sed '
    s@^/brndnmtthws/conky/releases/tag/v\([0-9.-]*\)$@\1@
    t
    d
  ' | \
  sort -V | \
  tail -n1