]> git.ipfire.org Git - people/ms/nightly-builds.git/commitdiff
Build all branches in alphabetical order
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Apr 2020 18:11:38 +0000 (18:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Apr 2020 18:11:38 +0000 (18:11 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
build.sh

index 606778b225efc11718d5d770c2a9fb07b1e935a1..bf7a31e41f29b9bc5166d78f8e64203064ea859a 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -209,10 +209,10 @@ fi
 trap unlock EXIT
 lock
 
-for repo in $(find ${BASEDIR} -maxdepth 3 -type d -name ".git"); do
-       [ -d "${repo}" ] || continue
+for repo in ${BASEDIR}/*; do
+       [ -d "${repo}/.git" ] || continue
 
-       build "$(dirname ${repo})"
+       echo build "${repo}"
 done
 
 # Try to sync even nothing was built for retrying failed uploads