Update script
authorFOSDEM Stands Team <stands@fosdem.org>
Mon, 1 Feb 2021 20:20:14 +0000 (20:20 +0000)
committerFOSDEM Stands Team <stands@fosdem.org>
Mon, 1 Feb 2021 20:20:14 +0000 (20:20 +0000)
content/stands/the_gnome_foundation
scripts/update.sh
static/stands/checkmk
static/stands/mautic
static/stands/ntop
static/stands/opentap
static/stands/openwifi
static/stands/pharo
static/stands/the_gnome_foundation

index 98dfd8738a1fb173d393518e5d5498c24878d68e..38aa7c10f170610726d10b946b1d384608228337 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 98dfd8738a1fb173d393518e5d5498c24878d68e
+Subproject commit 38aa7c10f170610726d10b946b1d384608228337
index 726160f78b299686b360b55b6cceab7ed6a44178..9bef1028bfcccc3d71d052a5422ebe3b7baa58b9 100755 (executable)
@@ -27,6 +27,22 @@ for d in $(find content/stands -maxdepth 1 -type d); do
 
 done
 
+
+for d in $(find static/stands -maxdepth 1 -type d); do
+
+        basename=$(basename "$d")
+        if [ "$basename" != "stands" ]; then
+                cd "$d"
+                git branch > /dev/null
+                echo "$d"
+                if [ "$?" == "0" ]; then
+                        git pull origin $(git branch | tail -1 | sed 's/*//' | awk '{print $1}')
+                fi
+                cd "$parent"
+        fi
+
+done
+
 hugo
 
 exit 0
index c26d6de3ec19fee6949c3dfc287af027d30728f4..755a2f1b95871be79faaf671d76b8ec1f7a6de1a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c26d6de3ec19fee6949c3dfc287af027d30728f4
+Subproject commit 755a2f1b95871be79faaf671d76b8ec1f7a6de1a
index f9625070dac1bd7812e883d7241f5d6916ccf6b7..fdd44cf1e9c73f105bd5654556257c6e181652ec 160000 (submodule)
@@ -1 +1 @@
-Subproject commit f9625070dac1bd7812e883d7241f5d6916ccf6b7
+Subproject commit fdd44cf1e9c73f105bd5654556257c6e181652ec
index 3ddb54c98a959080f1a149ca89c60755d9c85fb7..c13e2fd9a1f7b7b3317e47fb9efdab51a4e996f0 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 3ddb54c98a959080f1a149ca89c60755d9c85fb7
+Subproject commit c13e2fd9a1f7b7b3317e47fb9efdab51a4e996f0
index ba3d897e6a9dd3508d2ef07056b42a7b522d0bf3..9e3e2e14044c7f5b0099a315d7a0e7119e154b8c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ba3d897e6a9dd3508d2ef07056b42a7b522d0bf3
+Subproject commit 9e3e2e14044c7f5b0099a315d7a0e7119e154b8c
index 4ca7efd860f668b5731a45f61e4e7bde1171f284..98c73909e9112f8e9efc28efc51d9f1ec6057a3b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 4ca7efd860f668b5731a45f61e4e7bde1171f284
+Subproject commit 98c73909e9112f8e9efc28efc51d9f1ec6057a3b
index 21233fffe348bd178c65c7c87320a8a8c208822e..ee2d565aea514501029d867030743dc0f532f6b8 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 21233fffe348bd178c65c7c87320a8a8c208822e
+Subproject commit ee2d565aea514501029d867030743dc0f532f6b8
index 98dfd8738a1fb173d393518e5d5498c24878d68e..74b2a2a905434c6e7c7f817189def141d87bc984 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 98dfd8738a1fb173d393518e5d5498c24878d68e
+Subproject commit 74b2a2a905434c6e7c7f817189def141d87bc984