ci/release/build.sh: Automatically clone ci submodule
This commit is contained in:
parent
112c0a0d7d
commit
72dfbf708f
2 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -eu
|
set -eu
|
||||||
|
if [ ! -e "$(dirname "$0")/../../ci/sub/.git" ]; then
|
||||||
|
set -x
|
||||||
|
git submodule update --init
|
||||||
|
set +x
|
||||||
|
fi
|
||||||
|
. "$(dirname "$0")/../../ci/sub/lib.sh"
|
||||||
cd -- "$(dirname "$0")/../.."
|
cd -- "$(dirname "$0")/../.."
|
||||||
. ./ci/sub/lib.sh
|
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
|
||||||
2
make.sh
2
make.sh
|
|
@ -7,6 +7,6 @@ if [ ! -e "$(dirname "$0")/ci/sub/.git" ]; then
|
||||||
fi
|
fi
|
||||||
. "$(dirname "$0")/ci/sub/lib.sh"
|
. "$(dirname "$0")/ci/sub/lib.sh"
|
||||||
PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH"
|
PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH"
|
||||||
cd "$(dirname "$0")"
|
cd -- "$(dirname "$0")"
|
||||||
|
|
||||||
_make "$@"
|
_make "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue