From: Wolfram Schneider Date: Thu, 7 Jan 2016 09:51:23 +0000 (+0000) Subject: extract latest git commit ID from github, MKWS-420 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=HEAD;p=mkws-moved-to-github.git extract latest git commit ID from github, MKWS-420 --- diff --git a/src/Makefile b/src/Makefile index a1ecae2..7f9b11b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -50,7 +50,7 @@ $(DEST)/mkws-complete.js: Makefile $(INSTALLED_DOWNLOADABLE) $(DEST)/mkws.js echo " Licence: LGPL, http://www.indexdata.com/licences/lgpl"; \ echo " created at: $$(date)"; \ echo " MKWS GIT id: $$(git show | head -n 1 | perl -npe 's,\S+\s+,,')"; \ - echo " pz2.js GIT id: $$(curl -sSf 'http://git.indexdata.com/?p=pazpar2.git;a=rss' | egrep ',')"; \ + echo " pz2.js GIT id: $$(curl -sSf 'https://github.com/indexdata/pazpar2' | egrep '"commit-tease-sha"' | perl -ne 'print "$$1\n" if m,href=".*/([0-9a-f]+)",')"; \ echo "*/"; \ cat $(DEST)/${JQUERY_FILE}; \ cat $(DEST)/${JQUERY_JSON_FILE}; \