From bd5c85319b6a892524f7dc857b178cf41655e624 Mon Sep 17 00:00:00 2001 From: Leon Yu Date: Thu, 13 Sep 2018 06:48:00 -0400 Subject: [PATCH] Add checkver to dos2unix and jhead (#2587) --- dos2unix.json | 6 +++++- jhead.json | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dos2unix.json b/dos2unix.json index 242e950073..326b73a54b 100644 --- a/dos2unix.json +++ b/dos2unix.json @@ -18,5 +18,9 @@ "bin\\mac2unix.exe", "bin\\unix2dos.exe", "bin\\unix2mac.exe" - ] + ], + "checkver": { + "url": "https://waterlan.home.xs4all.nl/dos2unix.html", + "re": "Latest version: (?[\\d.]+) \\([\\d\\-]+\\)" + } } diff --git a/jhead.json b/jhead.json index 71c431eb56..3b950d2de0 100644 --- a/jhead.json +++ b/jhead.json @@ -8,5 +8,8 @@ ], "homepage": "http://www.sentex.net/~mwandel/jhead/", "hash": "666e18ca6bdd85fc74b0dee6d501f06b4bf387a5567cf5ac483d47b59cfdca44", - "bin": "jhead.exe" + "bin": "jhead.exe", + "checkver": { + "re": "Current release version: (?[\\d.]+) \\([\\w ]+\\)" + } }