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 549ddca256)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user