Skip to content

Commit

Permalink
make update: handle semicolon in github tag parsing
Browse files Browse the repository at this point in the history
A semicolon following the github tag for coda 2.21.1 managed to break
"make update".
  • Loading branch information
mabrand committed May 15, 2020
1 parent 16557fe commit 30424cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxe.github.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))' '.' \
Expand Down

0 comments on commit 30424cb

Please sign in to comment.