diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-15 14:09:56 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-11-15 15:41:26 (GMT) |
commit | b28501f0315674266082a060e80f419f4590645c (patch) | |
tree | fb8f03374bbcc2056cf756d3b84fedbe45400bf9 /Makefile | |
parent | de35582bc463a8bbf96e7f1d61b5be493cffe30f (diff) | |
download | mxe-b28501f0315674266082a060e80f419f4590645c.zip mxe-b28501f0315674266082a060e80f419f4590645c.tar.gz mxe-b28501f0315674266082a060e80f419f4590645c.tar.bz2 |
MXE_GET_GITHUB_TAGS: new argument, stripped prefix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ endef define MXE_GET_GITHUB_TAGS $(WGET) -q -O- 'https://api.github.com/repos/$(strip $(1))/git/refs/tags/' \ | $(SED) -n 's#.*"ref": "refs/tags/\([^"]*\).*#\1#p' \ + | $(SED) 's,^$(strip $(2)),,g' \ | $(SORT) -V \ | tail -1 endef |