From cc1750b211f68f382c7ef6aad900e4de14b75e93 Mon Sep 17 00:00:00 2001
From: xdvora19 <xdvora19@fi.muni.cz>
Date: Wed, 24 Apr 2024 12:41:47 +0200
Subject: [PATCH] fix submodule not updating

---
 utilities.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utilities.sh b/utilities.sh
index 137e0f4..12ac19e 100755
--- a/utilities.sh
+++ b/utilities.sh
@@ -1,7 +1,8 @@
 #!/usr/bin/env bash
 git submodule init
-git submodule update
+git submodule foreach git pull origin main
 
 mkdir -p docs/technical-documentation
 cp ./backend/definitions/README.md ./docs/technical-documentation/README.md
 cp ./backend/CHANGELOG.md ./docs/technical-documentation/CHANGELOG.md
+cp ./backend/openapi.yml ./docs/openapi.yml
-- 
GitLab