diff --git a/get-mods.sh b/get-mods.sh index b77d3d3..dc32e74 100755 --- a/get-mods.sh +++ b/get-mods.sh @@ -22,7 +22,9 @@ get_special () { REF="$(get_tag)" ;; *) - if [ -n "$BRANCH" ] && git -C dockerweb2-temp show -s --oneline "$BRANCH"; then + if [ "$BRANCH" = master ] && [[ "$2" == icinga-php/* ]]; then + REF=snapshot/nightly + elif [ -n "$BRANCH" ] && git -C dockerweb2-temp show -s --oneline "$BRANCH"; then REF="$BRANCH" else REF="$(get_tag)"