mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-22 08:03:19 +01:00
32 lines
569 B
Bash
Executable File
32 lines
569 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# checkouts submodules based on the tag
|
|
# provided in `tags.env`
|
|
|
|
|
|
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
|
|
}
|
|
|
|
checkout mod/webrtc-sfu/bbb-webrtc-sfu $TAG_WEBRTC_SFU
|
|
checkout mod/nginx/bbb-playback $TAG_PLAYBACK
|
|
checkout mod/bbb-pads/bbb-pads $TAG_PADS
|
|
checkout mod/webhooks/bbb-webhooks $TAG_WEBHOOKS
|
|
|
|
echo ""
|
|
echo "# git submodule"
|
|
git submodule |