Skip to content

Commit 30424cb

Browse files
committed
make update: handle semicolon in github tag parsing
A semicolon following the github tag for coda 2.21.1 managed to break "make update".
1 parent 16557fe commit 30424cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mxe.github.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ endef
132132
# called with owner/repo/releases[/latest],tag prefix, tag suffix, filter-out, version sep
133133
define MXE_GET_GH_RELEASE
134134
$(WGET) -q -O- 'https://github.com/$(strip $(1))' \
135-
| $(SED) -n 's,.*releases/tag/\([^"&]*\)".*,\1,p' \
135+
| $(SED) -n 's,.*releases/tag/\([^"&;]*\)".*,\1,p' \
136136
| $(if $(4),grep -vi '$(strip $(4))') \
137137
| $(SED) -n 's,^$(strip $(2))\([^"]*\)$(strip $(3))$$,\1,p' \
138138
| tr '$(strip $(5))' '.' \

0 commit comments

Comments
 (0)