skip "archived" branches
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 13:35:53 +0000 (15:35 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 13:35:53 +0000 (15:35 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 3289aef93ebbd6bff80f5a77c6de9dcc6047ec42..98473d634d1951f9b3cc28d1efef6d94bfb575b2 100755 (executable)
@@ -243,6 +243,11 @@ case "$1" in
        build)
                cd data/xonotic-maps.pk3dir
                git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do
+                       case "$REFNAME" in
+                               */archived/*)
+                                       continue
+                                       ;;
+                       esac
                        if [ -f "$build_cachedir/$HASH" ]; then
                                continue
                        fi
@@ -257,6 +262,11 @@ case "$1" in
        screenshot)
                cd data/xonotic-maps.pk3dir
                git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do
+                       case "$REFNAME" in
+                               */archived/*)
+                                       continue
+                                       ;;
+                       esac
                        if [ -f "$screenshot_cachedir/$HASH" ]; then
                                continue
                        fi