Cstate new version : Exclude dev|rc version
This commit is contained in:
parent
821fb4828a
commit
5a2fb8c13b
|
@ -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_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_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"
|
cstate_new_version_file="/tmp/.github.cstate.upgrade"
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue