Include the full build in the ol package
This commit is contained in:
@@ -71,9 +71,9 @@ echo "Building API docs for ${version}"
|
||||
npm run apidoc
|
||||
mv build/apidoc ${build}/en/${version}/
|
||||
|
||||
echo "Building the legacy build for ${version}"
|
||||
npm run build-legacy
|
||||
mv build/legacy ${build}/en/${version}/
|
||||
echo "Building the package ${version}"
|
||||
npm run build-package
|
||||
mv build/ol ${build}/en/${version}/
|
||||
|
||||
if [[ "${latest}" == "${version}" ]] ; then
|
||||
echo "Copying to en/latest"
|
||||
@@ -84,7 +84,7 @@ if [[ "${latest}" == "${version}" ]] ; then
|
||||
zip -r ${OLDPWD}/build/${version}-site.zip . -x "en/${version}/*"
|
||||
popd
|
||||
|
||||
pushd ${build}/en/${version}/legacy
|
||||
zip -r ${OLDPWD}/build/${version}-legacy.zip .
|
||||
pushd ${build}/en/${version}/ol
|
||||
zip -r ${OLDPWD}/build/${version}-package.zip .
|
||||
popd
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user