update-common: run update-readmes for selected modules
[platform/upstream/gst-common.git] / update-common
index d48e9f4..30cf4ad 100755 (executable)
@@ -81,6 +81,15 @@ do
       *)
         ;;
     esac
+    # update README and MAINTAINERS for selected modules
+    case $module in
+      gstreamer|gst-plugins-base|gst-plugins-good|gst-plugins-ugly|gst-plugins-bad )
+        ./common/update-readmes --run-git-add
+        ;;
+      *)
+        ;;
+    esac
+    # and finally update the common submodule
     git add common
     git commit -m "Automatic update of common submodule