diff --git a/scripts/fetch-docs.sh b/scripts/fetch-docs.sh index aa795c55..b7d5a065 100644 --- a/scripts/fetch-docs.sh +++ b/scripts/fetch-docs.sh @@ -1,9 +1,7 @@ #!/bin/bash -BITBAKE_DOCS_COMMIT=595176d6be95a9c4718d3a40499d1eb576b535f5 BITBAKE_DOCS_LIST="bitbake-user-manual-metadata.rst bitbake-user-manual-ref-variables.rst" -YOCTO_DOCS_COMMIT=897d5017eae6b3af2d5d489fc4e0915d9ce21458 YOCTO_DOCS_LIST=" tasks.rst variables.rst" set -e @@ -14,7 +12,7 @@ git clone --depth 1 --filter=blob:none --sparse https://github.com/openembedded/ cd bitbake git sparse-checkout set doc/bitbake-user-manual/ git fetch origin -git checkout $BITBAKE_DOCS_COMMIT +git checkout HEAD cd doc/bitbake-user-manual/ mv $BITBAKE_DOCS_LIST ../../../client/resources/docs cd ../../../ @@ -25,7 +23,7 @@ git clone --depth 1 --filter=blob:none --sparse https://git.yoctoproject.org/yoc cd yocto-docs git sparse-checkout set documentation/ref-manual git fetch origin -git checkout $YOCTO_DOCS_COMMIT +git checkout HEAD cd documentation/ref-manual mv $YOCTO_DOCS_LIST ../../../client/resources/docs cd ../../../