Skip to content

Commit 383e8b4

Browse files
authored
Use the actual aws-crt dependency version to make docs (#527)
1 parent fba5654 commit 383e8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ ! -d build/docs/aws-crt-nodejs ]; then
1111
git clone --single-branch https://github.com/awslabs/aws-crt-nodejs.git build/docs/aws-crt-nodejs
1212
fi
1313

14-
CRT_VERSION=`npm view aws-crt version`
14+
CRT_VERSION=`node -p "require('./package.json').dependencies['aws-crt']"`
1515
pushd build/docs/aws-crt-nodejs
1616
git fetch
1717
git checkout "v$CRT_VERSION"

0 commit comments

Comments
 (0)