diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-11-16 09:25:51 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-11-16 09:25:51 (GMT) |
commit | 656d5c5066ddbe1f9fea55dcd6e6b9d635a5d21a (patch) | |
tree | 611e8f613e8aa60d3f1bbe431feb25e43e2c7130 /Makefile | |
parent | 51f6aef1f79e24e9042c34f71929b7b1703c7642 (diff) | |
parent | b28501f0315674266082a060e80f419f4590645c (diff) | |
download | mxe-656d5c5066ddbe1f9fea55dcd6e6b9d635a5d21a.zip mxe-656d5c5066ddbe1f9fea55dcd6e6b9d635a5d21a.tar.gz mxe-656d5c5066ddbe1f9fea55dcd6e6b9d635a5d21a.tar.bz2 |
Merge pull request #998 from LuaAndC/update-gh-packages
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 |