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

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