Skip to content

Commit b43956f

Browse files
committed
Update release script
1 parent 1810d53 commit b43956f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/release.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

1515
version=$(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
3836
fi
3937

4038
# Sign

0 commit comments

Comments
 (0)