From b629d63200321453d83e3d39e0c3c330d5e7a76e Mon Sep 17 00:00:00 2001 From: Alexander Condello Date: Tue, 18 Jan 2022 11:54:57 -0800 Subject: [PATCH] Fix deploy regex in .circleci/config.yml --- .circleci/config.yml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7aecee98..5d9d950f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -345,37 +345,21 @@ workflows: jobs: - build-linux: <<: *build - filters: + filters: &deploy-filters tags: - only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/ + only: /^[0-9]+(\.[0-9]+)*((\.dev|rc|\.post)([0-9]+)?)?$/ branches: ignore: /.*/ - build-linux-aarch64: <<: *build - filters: - tags: - only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/ - branches: - ignore: /.*/ + filters: *deploy-filters - build-osx: <<: *build-osx - filters: - tags: - only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/ - branches: - ignore: /.*/ + filters: *deploy-filters - build-sdist: - filters: - tags: - only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/ - branches: - ignore: /.*/ + filters: *deploy-filters - deploy-all: - filters: - tags: - only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/ - branches: - ignore: /.*/ + filters: *deploy-filters requires: - build-linux - build-linux-aarch64