1 | #!/usr/bin/env bash
|
2 |
|
3 | set -ex
|
4 |
|
5 | if [[ ! -z "$GIT_EMAIL" ]] & [[ ! -z "$GIT_USERNAME" ]]; then
|
6 | git config --global push.default simple
|
7 | git config --global user.email "$GIT_EMAIL"
|
8 | git config --global user.name "$GIT_USERNAME"
|
9 | fi
|
10 |
|
11 | git submodule sync
|
12 | git submodule update --init --recursive
|