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

curl "https://github.com/brndnmtthws/conky/releases" 2> /dev/null | \
  tr "\"" "\n" | \
  sed '
    s@^/brndnmtthws/conky/archive/refs/tags/v\([0-9.-]*\)\.tar\.gz$@\1@
    t
    d
  ' | \
  sort -V | \
  tail -n1