Skip to content

Commit

Permalink
Use the actual aws-crt dependency version to make docs (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfod committed Sep 5, 2024
1 parent fba5654 commit 383e8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ ! -d build/docs/aws-crt-nodejs ]; then
git clone --single-branch https://github.com/awslabs/aws-crt-nodejs.git build/docs/aws-crt-nodejs
fi

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

0 comments on commit 383e8b4

Please sign in to comment.