correctly publish for buildtype
diff --git a/org.eclipse.e4.builder/scripts/masterBuild.sh b/org.eclipse.e4.builder/scripts/masterBuild.sh
index c26cb92..eabd401 100755
--- a/org.eclipse.e4.builder/scripts/masterBuild.sh
+++ b/org.eclipse.e4.builder/scripts/masterBuild.sh
@@ -349,9 +349,9 @@
 
 # find the builds to process
 
-BUILDS=$( ls -d $HUDSON_DROPS/I* | cut -d/ -f11 )
+BUILDS=$( ls -d $HUDSON_DROPS/${buildType}* | cut -d/ -f11 )
 
-if [ -z "$BUILDS" -o  "$BUILDS" = "I*" ]; then
+if [ -z "$BUILDS" -o  "$BUILDS" = "${buildType}*" ]; then
 	return
 fi