From ba533793bcf4e7d0f3072398352355e2e5a390ad Mon Sep 17 00:00:00 2001 From: "tomasz.kowalczewski" Date: Sun, 20 Dec 2020 21:53:07 +0100 Subject: [PATCH] We use approval feature of CircleCI to optionally execute release job. This makes all builds look like they are hanging and unfinished (pita when reporting PR status to GH). Trying to change the config so release will be done if tag is specified. --- .circleci/config.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28952db..419abf1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,15 +51,12 @@ workflows: main: jobs: - build-and-test - - hold: - type: approval - requires: - - build-and-test - circleci-maven-release-orb/run-maven-release: filters: branches: - only: master + ignore: /.*/ + tags: + only: /.*/ requires: - - hold + - build-and-test executor: new-java-maven-executor -