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.

This commit is contained in:
tomasz.kowalczewski committed 2020-12-20 21:53:07 +01:00
1 parent 071b634101
commit ba533793bc
1 file changed
+4 -7
+4 -7
View File
@@ -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