summaryrefslogtreecommitdiff
path: root/manualPorts/offlineimap
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 21:55:01 +0100
committerErich Eckner <git@eckner.net>2019-01-21 21:55:01 +0100
commit5da6e7afb6137bc74bda83073dd5f8264f8c6e68 (patch)
treed3854581c522e784d2d42da9e50f2d948e007d2b /manualPorts/offlineimap
parentce6aa3ae61a72efbe02a97b692739893e42aa5a5 (diff)
downloadcrux-ports-5da6e7afb6137bc74bda83073dd5f8264f8c6e68.tar.xz
cleanup
Diffstat (limited to 'manualPorts/offlineimap')
-rwxr-xr-xmanualPorts/offlineimap/lastVersion.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/manualPorts/offlineimap/lastVersion.sh b/manualPorts/offlineimap/lastVersion.sh
new file mode 100755
index 0000000..b74f151
--- /dev/null
+++ b/manualPorts/offlineimap/lastVersion.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+curl 'https://github.com/OfflineIMAP/offlineimap/releases/' 2> /dev/null | \
+ tr '"<>' '\n' | \
+ sed '
+ s,^/OfflineIMAP/offlineimap/archive/v\([0-9.]\+\)\.tar\.gz$,\1,
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1