add update_submodules.sh which checks out specific version

This commit is contained in:
woodser
2020-06-04 13:40:34 -04:00
parent fb9a1fbbb5
commit ff97e18bac
2 changed files with 17 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# initialize submodules recursively
git submodule update --init --recursive
# update monero-cpp
git checkout master
git pull --ff-only origin master
# update monero-core
cd ./external/monero-core
git checkout master
git pull --ff-only origin master
cd ../../