From 8d17328e02a5aad5a33f29dd9d28255b98c07937 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 15 Jul 2018 21:00:17 +0200 Subject: [PATCH] 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 --- maketag.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.30.2