mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-25 01:23:09 +01:00
actually checkout the submodules specified in tags.env
This commit is contained in:
parent
d8587b0e33
commit
cef23f8236
@ -7,13 +7,18 @@
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
export $(cat tags.env | sed 's/#.*//g' | xargs)
|
||||
|
||||
function checkout {
|
||||
path=$1
|
||||
ref=$2
|
||||
pushd $path
|
||||
git fetch
|
||||
git checkout $ref
|
||||
echo ""
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
|
@ -17,8 +17,7 @@ else
|
||||
|
||||
echo ""
|
||||
echo "# pull newest git submodules"
|
||||
git submodule init
|
||||
git submodule update
|
||||
./scripts/checkout-submodules
|
||||
|
||||
echo ""
|
||||
echo "# recreate docker-compose.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user