File tree 1 file changed +12
-9
lines changed
1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,21 @@ if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
38
38
docker cp ${container_id} :/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR_IMAGE_BUILD}
39
39
popd
40
40
echo " Trigger build of PyQGIS Documentation"
41
- body=" {
42
- 'request': {
43
- 'branch':'master',
44
- 'message': 'Trigger PyQGIS doc build after release of new Docker image as ${DOCKER_TAG} ',
45
- 'config': {
46
- 'merge_mode': 'deep_merge',
47
- 'env': {
48
- 'global': ['QGIS_VERSION_BRANCH=${TRAVIS_BRANCH} ']
41
+ body=' {
42
+ "request": {
43
+ "branch":"master",
44
+ "message": "Trigger PyQGIS doc build after release of new Docker image as __DOCKER_TAG__",
45
+ "config": {
46
+ "merge_mode": "deep_merge",
47
+ "matrix": {
48
+ "include": {
49
+ "env": ["QGIS_VERSION_BRANCH=__QGIS_VERSION_BRANCH__"]
50
+ }
49
51
}
50
52
}
51
53
}
52
- }"
54
+ }'
55
+ body=$( sed " s/__QGIS_VERSION_BRANCH__/${TRAVIS_BRANCH} /; s/__DOCKER_TAG__/${DOCKER_TAG} /" <<< $body )
53
56
curl -s -X POST -H " Content-Type: application/json" -H " Accept: application/json" \
54
57
-H " Travis-API-Version: 3" -H " Authorization: token $TRAVIS_TOKEN " -d " $body " \
55
58
https://api.travis-ci.org/repo/qgis%2Fpyqgis/requests
You can’t perform that action at this time.
0 commit comments