File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ git diff-index --quiet HEAD || (echo >&2 git working directory is dirty && exit
1010[ -n " $BWT_BASE " ] || (echo >&2 BWT_BASE is required && exit 1)
1111[ -n " $LIBBWT_COMMIT " ] || (echo >&2 LIBBWT_COMMIT is required && exit 1)
1212
13- (cd libbwt && git fetch local && git reset --hard $LIBBWT_COMMIT )
13+ (cd libbwt && git fetch local && git reset --hard $LIBBWT_COMMIT && git submodule update --init )
1414
1515version=$( grep -E ' ^version =' libbwt/Cargo.toml | cut -d' "' -f2)
1616
@@ -33,8 +33,6 @@ if [ -z "$SKIP_BUILD" ]; then
3333 docker run -it --rm -u ` id -u` -v $( pwd) :/usr/src/libbwt-nodejs -w /usr/src/libbwt-nodejs \
3434 -v $BWT_BASE /libbwt/dist:/usr/src/libbwt-dist -e LIBBWT_DIST=/usr/src/libbwt-dist \
3535 $node_image ./scripts/build.sh
36-
37- rm -rf dist/* / # remove subdirectories, keep files only
3836fi
3937
4038# Sign
You can’t perform that action at this time.
0 commit comments