Remove unused NUM_OPENSTACK_SITES
[releng/builder.git] / jjb / autorelease / update-validate-autorelease-projects.sh
index 0dee6f94d051e9048fed2c741c03899120f0f8da..e7691cb130a680a8934a53bade38776ca350169f 100644 (file)
@@ -38,14 +38,14 @@ cat > "$YAML_FILE" << EOF
 EOF
 
 for module in "${modules[@]}"; do
+    # TODO: Remove this once mdsal fully becomes an MRI project.
+    if [ "$module" == "mdsal" ] && [ "$BRANCH" == "master" ]; then
+        continue
+    fi
+
     echo "Include $module"
     echo "      - ${module//\//-}:" >> "$YAML_FILE"
     echo "          project: $module" >> "$YAML_FILE"
-
-    # TODO: Remove this once mdsal fully becomes an MRI project.
-    if [ "$module" == "mdsal" ]; then
-        echo "          branch: v2.6.x" >> "$YAML_FILE"
-    fi
 done
 
 git add "${YAML_FILE}"