mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-08-09 12:54:53 +02:00
actually checkout the submodules specified in tags.env
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user