diff options
author | Mark Brand <mabrand@mabrand.nl> | 2019-05-14 08:52:19 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2019-05-14 08:58:39 (GMT) |
commit | 4bf2782956cdc53bdde6690360df926ee8fc9831 (patch) | |
tree | 5e87f2234a1d7c959a2e4880974619cf024c08d8 /mxe.github.mk | |
parent | db5844e8136f44c610e133703a5e5dfcfd0ee706 (diff) | |
download | mxe-4bf2782956cdc53bdde6690360df926ee8fc9831.zip mxe-4bf2782956cdc53bdde6690360df926ee8fc9831.tar.gz mxe-4bf2782956cdc53bdde6690360df926ee8fc9831.tar.bz2 |
github macros: exclude trailing html entities from release
Sometimes the release number has some trailing junk starting with
""".
Diffstat (limited to 'mxe.github.mk')
-rw-r--r-- | mxe.github.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mxe.github.mk b/mxe.github.mk index 91c9d2e..ccb8225 100644 --- a/mxe.github.mk +++ b/mxe.github.mk @@ -132,7 +132,7 @@ endef # called with owner/repo/releases[/latest],tag prefix, tag suffix, filter-out, version sep define MXE_GET_GH_RELEASE $(WGET) -q -O- 'https://github.com/$(strip $(1))' \ - | $(SED) -n 's,.*releases/tag/\([^"]*\)".*,\1,p' \ + | $(SED) -n 's,.*releases/tag/\([^"&]*\)".*,\1,p' \ | $(if $(4),grep -vi '$(strip $(4))') \ | $(SED) -n 's,^$(strip $(2))\([^"]*\)$(strip $(3))$$,\1,p' \ | tr '$(strip $(5))' '.' \ |