From 7e47ab2a1e22a5aeb599d79413251d420cc3c295 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Wed, 27 Jul 2022 13:06:35 -0700 Subject: [PATCH] Don't publish a stable release on RC tags --- .circleci/config.yml | 12 +++++++++++- .circleci/template.yml | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aded1f423..3f3833803 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1123,7 +1123,17 @@ workflows: - /.*/ tags: only: - - /^v\d+\.\d+\.\d+(-rc\d+)?$/ + - /^v\d+\.\d+\.\d+$/ + - publish-snapcraft: + name: publish-snapcraft-candidate + channel: candidate + filters: + branches: + ignore: + - /.*/ + tags: + only: + - /^v\d+\.\d+\.\d+-rc\d+$/ - publish-dockerhub: name: publish-dockerhub tag: stable diff --git a/.circleci/template.yml b/.circleci/template.yml index 82db7ae81..2cbc6c519 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -883,7 +883,17 @@ workflows: - /.*/ tags: only: - - /^v\d+\.\d+\.\d+(-rc\d+)?$/ + - /^v\d+\.\d+\.\d+$/ + - publish-snapcraft: + name: publish-snapcraft-candidate + channel: candidate + filters: + branches: + ignore: + - /.*/ + tags: + only: + - /^v\d+\.\d+\.\d+-rc\d+$/ - publish-dockerhub: name: publish-dockerhub tag: stable