mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-02-18 02:30:49 +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
|
set -e
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
export $(cat tags.env | sed 's/#.*//g' | xargs)
|
export $(cat tags.env | sed 's/#.*//g' | xargs)
|
||||||
|
|
||||||
function checkout {
|
function checkout {
|
||||||
path=$1
|
path=$1
|
||||||
ref=$2
|
ref=$2
|
||||||
pushd $path
|
pushd $path
|
||||||
|
git fetch
|
||||||
git checkout $ref
|
git checkout $ref
|
||||||
|
echo ""
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,8 +17,7 @@ else
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "# pull newest git submodules"
|
echo "# pull newest git submodules"
|
||||||
git submodule init
|
./scripts/checkout-submodules
|
||||||
git submodule update
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "# recreate docker-compose.yml"
|
echo "# recreate docker-compose.yml"
|
||||||
|
Loading…
Reference in New Issue
Block a user