Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit ae129fa

Browse files
committed
fix tag build so it triggers prerequisites
1 parent 25e8d00 commit ae129fa

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,11 @@ workflows:
622622
name: binary_linux_wheel_py3.7
623623
python_version: '3.7'
624624
- binary_linux_wheel:
625+
filters:
626+
branches:
627+
only: /.*/
628+
tags:
629+
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
625630
name: binary_linux_wheel_py3.8
626631
python_version: '3.8'
627632
- binary_linux_wheel:
@@ -688,6 +693,11 @@ workflows:
688693
name: binary_windows_conda_py3.9
689694
python_version: '3.9'
690695
- build_docs:
696+
filters:
697+
branches:
698+
only: /.*/
699+
tags:
700+
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
691701
name: build_docs
692702
python_version: '3.8'
693703
requires:

.circleci/regenerate.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@ def build_workflows(prefix='', upload=False, filter_branch=None, indentation=6):
3030
for btype in ["wheel", "conda"]:
3131
for os_type in ["linux", "macos", "windows"]:
3232
for python_version in PYTHON_VERSIONS:
33-
w += build_workflow_pair(btype, os_type, python_version, filter_branch, prefix, upload)
33+
fb = filter_branch
34+
if not fb and (os_type == 'linux' and
35+
btype == 'wheel' and
36+
python_version == '3.8'):
37+
# the fields must match the build_docs "requires" dependency
38+
fb = '/.*/'
39+
w += build_workflow_pair(btype, os_type, python_version, fb, prefix, upload)
3440

3541
if not filter_branch:
3642
# Build on every pull request, but upload only on nightly and tags
37-
w += build_doc_job(None)
43+
w += build_doc_job('/.*/')
3844
w += upload_doc_job('nightly')
3945
w += docstring_parameters_sync_job(None)
4046

0 commit comments

Comments
 (0)