summaryrefslogtreecommitdiffstats
path: root/github.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-07-22 08:01:41 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-07-22 08:09:56 (GMT)
commitda3b923846e11b6d054257dbcb92db7a6a5d2ee7 (patch)
treebff7589b1fcc797ee0eacdd07d26100710ca9eba /github.mk
parent1ec5fc610a590c27251f565f59c17dce735b8626 (diff)
downloadmxe-da3b923846e11b6d054257dbcb92db7a6a5d2ee7.zip
mxe-da3b923846e11b6d054257dbcb92db7a6a5d2ee7.tar.gz
mxe-da3b923846e11b6d054257dbcb92db7a6a5d2ee7.tar.bz2
github: use case insensitive filter and fix typo
Diffstat (limited to 'github.mk')
-rw-r--r--github.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/github.mk b/github.mk
index 48e4eb6..07d4bef 100644
--- a/github.mk
+++ b/github.mk
@@ -111,10 +111,10 @@ endef
# called with owner/repo, tag prefix, tag suffix, filter-out, version sep
define MXE_GET_GH_TAG
$(MXE_GET_GH_TAGS) \
- | $(if $(4),grep -v '$(strip $(4))') \
+ | $(if $(4),grep -vi '$(strip $(4))') \
| $(SED) -n 's,^$(strip $(2))\([^"]*\)$(strip $(3))$$,\1,p' \
| tr '$(strip $(5))' '.' \
- | $(SORT) -V
+ | $(SORT) -V \
| tail -1
endef