From 6e2a35df2dff02ac433cd8c8109bc66a25dc62c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Thu, 3 Sep 2020 10:35:37 +0200 Subject: [PATCH] Include BIND documentation in Windows zips As generated documentation files are no longer stored in the BIND Git repository, put a copy of the PDF version of the BIND ARM generated by the "docs" GitLab CI job into the Windows zips to make it easily available to the end users on that platform. Make sure Windows zips also contain certain documentation files included in source tarballs to make the contents of each release more consistent across different platforms. (cherry picked from commit 549ddca2562de81bb363212b791cbc5f853a321a) --- .gitlab-ci.yml | 2 ++ lib/isc/win32/libisc.vcxproj.in | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1990fce847..ca962ad4e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1227,6 +1227,8 @@ release: - find Build/ -regextype posix-extended -regex "Build/.*/($(find bin/tests/ -type f | sed -nE "s|^bin/tests(/system)?/win32/(.*)\.vcxproj$|\2|p" | paste -d"|" -s))\..*" -print -delete # Create Windows zips - openssl dgst -sha256 "${BIND_DIRECTORY}.tar.${TARBALL_EXTENSION}" | tee Build/Release/SHA256 Build/Debug/SHA256 + - cp "doc/arm/_build/latex/Bv9ARM.pdf" Build/Release/ + - cp "doc/arm/_build/latex/Bv9ARM.pdf" Build/Debug/ - ( cd Build/Release; zip "../../BIND${BIND_DIRECTORY#bind-}.x64.zip" * ) - ( cd Build/Debug; zip "../../BIND${BIND_DIRECTORY#bind-}.debug.x64.zip" * ) # Prepare release tarball contents (tarballs + zips + documentation) diff --git a/lib/isc/win32/libisc.vcxproj.in b/lib/isc/win32/libisc.vcxproj.in index a79175d7e4..3221ab0c2d 100644 --- a/lib/isc/win32/libisc.vcxproj.in +++ b/lib/isc/win32/libisc.vcxproj.in @@ -90,6 +90,13 @@ if NOT Exist ..\Build mkdir ..\Build if NOT Exist ..\Build\Debug mkdir ..\Build\Debug +echo Copying documentation. + +copy ..\*.md ..\Build\Debug +copy ..\CHANGES* ..\Build\Debug +copy ..\COPYRIGHT ..\Build\Debug +copy ..\LICENSE ..\Build\Debug + echo Copying COPYRIGHT notice. copy ..\COPYRIGHT ..\Build\Debug @@ -187,6 +194,13 @@ copy InstallFiles ..\Build\Debug\ if NOT Exist ..\Build mkdir ..\Build if NOT Exist ..\Build\Release mkdir ..\Build\Release +echo Copying documentation. + +copy ..\*.md ..\Build\Release +copy ..\CHANGES* ..\Build\Release +copy ..\COPYRIGHT ..\Build\Release +copy ..\LICENSE ..\Build\Release + echo Copying the OpenSSL DLL and LICENSE. copy @OPENSSL_DLL@ ..\Build\Release\