From 216e313a0e4e885557f673459cf8353686f5eaea Mon Sep 17 00:00:00 2001 From: JulesFaucherre Date: Tue, 21 Nov 2023 09:18:33 +0100 Subject: [PATCH] ci: improving filter --- .circleci/config.yml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7d18a247..6a309c89 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -654,33 +654,23 @@ workflows: Undraft release: jobs: - Build Linux x86_64: - filters: + filters: &release-tag-filters + branches: + ignore: /.*/ tags: only: /\d+\.\d+\.\d+/ - Build Linux arm64: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters - Build MacOS x86_64: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters - Build MacOS arm64: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters - Build Windows: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters - Copy JSON schema: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters - Upload artifacts: - filters: - tags: - only: /\d+\.\d+\.\d+/ + filters: *release-tag-filters requires: - Build Linux x86_64 - Build Linux arm64