From 3b73a1ca67e06ecf3cf878a9e7bd788645ba40b0 Mon Sep 17 00:00:00 2001 From: FOSDEM Stands Team Date: Mon, 1 Feb 2021 20:20:14 +0000 Subject: [PATCH] Update script --- content/stands/the_gnome_foundation | 2 +- scripts/update.sh | 16 ++++++++++++++++ static/stands/checkmk | 2 +- static/stands/mautic | 2 +- static/stands/ntop | 2 +- static/stands/opentap | 2 +- static/stands/openwifi | 2 +- static/stands/pharo | 2 +- static/stands/the_gnome_foundation | 2 +- 9 files changed, 24 insertions(+), 8 deletions(-) diff --git a/content/stands/the_gnome_foundation b/content/stands/the_gnome_foundation index 98dfd87..38aa7c1 160000 --- a/content/stands/the_gnome_foundation +++ b/content/stands/the_gnome_foundation @@ -1 +1 @@ -Subproject commit 98dfd8738a1fb173d393518e5d5498c24878d68e +Subproject commit 38aa7c10f170610726d10b946b1d384608228337 diff --git a/scripts/update.sh b/scripts/update.sh index 726160f..9bef102 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -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 diff --git a/static/stands/checkmk b/static/stands/checkmk index c26d6de..755a2f1 160000 --- a/static/stands/checkmk +++ b/static/stands/checkmk @@ -1 +1 @@ -Subproject commit c26d6de3ec19fee6949c3dfc287af027d30728f4 +Subproject commit 755a2f1b95871be79faaf671d76b8ec1f7a6de1a diff --git a/static/stands/mautic b/static/stands/mautic index f962507..fdd44cf 160000 --- a/static/stands/mautic +++ b/static/stands/mautic @@ -1 +1 @@ -Subproject commit f9625070dac1bd7812e883d7241f5d6916ccf6b7 +Subproject commit fdd44cf1e9c73f105bd5654556257c6e181652ec diff --git a/static/stands/ntop b/static/stands/ntop index 3ddb54c..c13e2fd 160000 --- a/static/stands/ntop +++ b/static/stands/ntop @@ -1 +1 @@ -Subproject commit 3ddb54c98a959080f1a149ca89c60755d9c85fb7 +Subproject commit c13e2fd9a1f7b7b3317e47fb9efdab51a4e996f0 diff --git a/static/stands/opentap b/static/stands/opentap index ba3d897..9e3e2e1 160000 --- a/static/stands/opentap +++ b/static/stands/opentap @@ -1 +1 @@ -Subproject commit ba3d897e6a9dd3508d2ef07056b42a7b522d0bf3 +Subproject commit 9e3e2e14044c7f5b0099a315d7a0e7119e154b8c diff --git a/static/stands/openwifi b/static/stands/openwifi index 4ca7efd..98c7390 160000 --- a/static/stands/openwifi +++ b/static/stands/openwifi @@ -1 +1 @@ -Subproject commit 4ca7efd860f668b5731a45f61e4e7bde1171f284 +Subproject commit 98c73909e9112f8e9efc28efc51d9f1ec6057a3b diff --git a/static/stands/pharo b/static/stands/pharo index 21233ff..ee2d565 160000 --- a/static/stands/pharo +++ b/static/stands/pharo @@ -1 +1 @@ -Subproject commit 21233fffe348bd178c65c7c87320a8a8c208822e +Subproject commit ee2d565aea514501029d867030743dc0f532f6b8 diff --git a/static/stands/the_gnome_foundation b/static/stands/the_gnome_foundation index 98dfd87..74b2a2a 160000 --- a/static/stands/the_gnome_foundation +++ b/static/stands/the_gnome_foundation @@ -1 +1 @@ -Subproject commit 98dfd8738a1fb173d393518e5d5498c24878d68e +Subproject commit 74b2a2a905434c6e7c7f817189def141d87bc984 -- 2.30.2