From 5a2fb8c13bc29eb9e458a3fb313cfbe6437370b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Tue, 18 Aug 2020 12:03:16 +0200 Subject: [PATCH] =?UTF-8?q?Cstate=20new=20version=E2=80=AF:=20Exclude=20de?= =?UTF-8?q?v|rc=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- github/check.cstate.update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/check.cstate.update b/github/check.cstate.update index ab7c64e..75c6117 100755 --- a/github/check.cstate.update +++ b/github/check.cstate.update @@ -44,7 +44,7 @@ cstate_url="${1}" cstate_current_version=$(curl --insecure --silent "${cstate_url}" | grep -E 'meta.*generator.*cState.*github.com' | sed 's;.*generator.*content.*cState \(v.*\) - https.*github.com.*;\1;') cstate_repo_url="https://github.com/cstate/cstate" -cstate_new_version=$("${script_wd}"/releasetags "${cstate_repo_url}" | head -n1) +cstate_new_version=$("${script_wd}"/releasetags "${cstate_repo_url}" | grep -vE -- '(dev|rc)' | head -n1) cstate_new_version_file="/tmp/.github.cstate.upgrade" # }}}