mirror of
https://github.com/Icinga/docker-icingaweb2.git
synced 2025-10-24 13:30:59 +02:00
get_tag(): fall back to RC
This commit is contained in:
parent
635b69f7f7
commit
fd1c422139
@ -5,7 +5,11 @@ set -exo pipefail
|
||||
BRANCH="$1"
|
||||
|
||||
get_tag () {
|
||||
if git -C dockerweb2-temp tag |grep -qvFe -; then # ex. RCs
|
||||
git -C dockerweb2-temp tag --sort=-version:refname |grep -vFe - |head -n 1
|
||||
else
|
||||
git -C dockerweb2-temp tag --sort=-version:refname |grep -Fe - |head -n 1
|
||||
fi
|
||||
}
|
||||
|
||||
get_special () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user