We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fba5654 commit 383e8b4Copy full SHA for 383e8b4
make-docs.sh
@@ -11,7 +11,7 @@ if [ ! -d build/docs/aws-crt-nodejs ]; then
11
git clone --single-branch https://github.com/awslabs/aws-crt-nodejs.git build/docs/aws-crt-nodejs
12
fi
13
14
-CRT_VERSION=`npm view aws-crt version`
+CRT_VERSION=`node -p "require('./package.json').dependencies['aws-crt']"`
15
pushd build/docs/aws-crt-nodejs
16
git fetch
17
git checkout "v$CRT_VERSION"
0 commit comments