From fddb44dd747653b2fb05a80ae060a49091048074 Mon Sep 17 00:00:00 2001 From: RomanMarcu Date: Thu, 1 Aug 2024 14:41:39 +0200 Subject: [PATCH] build: Add release job to circleCI --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b402784..7c73730 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,17 +19,18 @@ jobs: - run: command: mvn --batch-mode release:perform workflows: - build-and-package: + commit: jobs: - - maven-build + - maven-build: + filters: + branches: + ignore: /^release$/ release: jobs: - maven-release: - requires: - - maven-build filters: branches: - only: /^main$/ + only: /^release$/ tags: only: /^v[0-9]+\.[0-9]+\.[0-9]+$/