mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-15 16:15:22 +00:00
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:
1 parent
071b634101
commit
ba533793bc
1 file changed
+4
-7
@@ -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
|
||||
|
||||
Reference in new issue
Block a user