mirror of
https://github.com/Icinga/docker-icingaweb2.git
synced 2025-10-25 14:00:59 +02:00
get-mods: Only archive $BRANCH if it exists
This commit is contained in:
parent
67ab2cd4a1
commit
18fced60e6
@ -20,7 +20,7 @@ get_special () {
|
||||
REF="$(get_tag)"
|
||||
;;
|
||||
*)
|
||||
if [ -n "$BRANCH" ]; then
|
||||
if [ -n "$BRANCH" ] && git -C dockerweb2-temp show -s --oneline "$BRANCH"; then
|
||||
REF="$BRANCH"
|
||||
else
|
||||
REF="$(get_tag)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user