diff --git a/.gitmodules b/.gitmodules index 48a035dfda23cecda95f5dd8dc03d6987721c1b8..bfedea40a2ab4ec67a3fd89702fd2bb243464e41 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,8 @@ [submodule "backend-submodule"] path = backend url = ../backend + branch = main [submodule "frontend"] path = frontend url = ../frontend + branch = master diff --git a/utilities.sh b/utilities.sh index 2797c0f57a6e3a1d46683dbe0d3cffaba79316f1..0e4be91d46168aeca4fa360e82b9beea2a9364cf 100755 --- a/utilities.sh +++ b/utilities.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash git submodule init -git submodule foreach git pull origin main +git submodule update --remote mkdir -p docs/tech cp ./backend/definitions/README.md ./docs/tech/architecture/definitions.md cp ./backend/CHANGELOG.md ./docs/tech/CHANGELOG.md -cp ./backend/README.md ./docs/tech/installation/back-README.md +cp ./backend/INSTALATION.md ./docs/tech/installation/back-README.md cp ./frontend/README.md ./docs/tech/installation/front-README.md cp ./backend/openapi.yml ./docs/tech/api/openapi.yml