From: Hauke Mehrtens Date: Sun, 15 Jul 2018 19:00:17 +0000 (+0200) Subject: Fix detection of lede branch. X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8d17328e02a5aad5a33f29dd9d28255b98c07937;p=maintainer-tools.git Fix detection of lede branch. The branch name looks like this for lede-17.01: refs/heads/lede-17.01 Signed-off-by: Hauke Mehrtens --- diff --git a/maketag.sh b/maketag.sh index 89b2736..72767b8 100755 --- a/maketag.sh +++ b/maketag.sh @@ -99,8 +99,8 @@ case "$branch" in esac case "$branch" in - lede-*) distro="LEDE" ;; - openwrt-*) distro="OpenWrt" ;; + */lede-*) distro="LEDE" ;; + */openwrt-*) distro="OpenWrt" ;; esac export GIT_AUTHOR_NAME="$git_author"