Archive global and config from qtbase in doc build

Copy the global and config folder from under qtbase to directory from
which the documentation.tar.gz is created. This is similar to how these
are added in qmake builds.

Task-number: QTBUG-94443
Change-Id: I1dfd6dd05057bb1bfdaeec9cf5d03fbfe474a5d1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 7ed6d04410)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Toni Saario
2021-06-15 13:09:33 +03:00
committed by Qt Cherry-pick Bot
parent a22e9d7674
commit 51e88c7313

View File

@@ -35,8 +35,16 @@ instructions:
maxTimeBetweenOutput: 1200
userMessageOnFailure: >
Failed to generate docs.
- type: MakeDirectory
directory: "{{.BuildDir}}/qtbase/doc/global"
- type: ExecuteCommand
command: "cp -r {{.BuildDir}}/qtbase/doc/config {{.BuildDir}}/doc"
maxTimeInSeconds: 12000
maxTimeBetweenOutput: 1200
userMessageOnFailure: "Failed to copy qtbase/doc/config to documentation directory."
- type: ExecuteCommand
command: "cp -r {{.BuildDir}}/qtbase/doc/global {{.BuildDir}}/doc"
maxTimeInSeconds: 12000
maxTimeBetweenOutput: 1200
userMessageOnFailure: "Failed to copy qtbase/doc/global to documentation directory."
- type: UploadArtifact
archiveDirectory: '{{.BuildDir}}/doc'
transferType: UploadModuleDocumentation