[ACA-2755] SSO: Simplify changing alfresco-js-api (#1290)

* include alfresco-js-api

* provide update submodules as reset for the submodules
This commit is contained in:
Martin Muller
2020-01-06 13:33:39 +01:00
committed by GitHub
parent 4b7cd44001
commit 9007d40a8e
8 changed files with 30 additions and 19 deletions

14
update-submodules.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
git pull
git submodule sync --recursive
git submodule update --init --recursive
# Go through all of the submodules switching them to their branches and updating them
echo
echo "Updating alfresco-js-api ..."
echo --------------------------
cd alfresco-js-api && git checkout master && git pull
cd ..
echo