|
| 1 | +version: 2.1 |
| 2 | + |
| 3 | +orbs: |
| 4 | + github-maven-deploy: github-maven-deploy/[email protected] |
| 5 | + |
| 6 | +mvn-build-test-command: &mvn-build-test-command |
| 7 | + mvn-build-test-command: mvn verify -Dmaven.javadoc.skip=true |
| 8 | + |
| 9 | +mvn-deploy-command: &mvn-deploy-command |
| 10 | + mvn-deploy-command: | |
| 11 | + mvn -s .circleci/maven-release-settings.xml clean deploy -DdeployAtEnd=true -DperformRelease=true -DskipTests -Dspotbugs.skip=true -Denforcer.skip=true -Djacoco.skip=true |
| 12 | + mvn license:remove |
| 13 | + context: RELEASE_PROFILE_BBOTTEMA |
| 14 | + |
| 15 | +workflows: |
| 16 | + workflow: |
| 17 | + jobs: |
| 18 | + - github-maven-deploy/build-and-test: |
| 19 | + <<: *mvn-build-test-command |
| 20 | + filters: |
| 21 | + branches: |
| 22 | + only: master |
| 23 | + |
| 24 | + - github-maven-deploy/approve-deploy-patch-version: |
| 25 | + type: approval |
| 26 | + requires: |
| 27 | + - github-maven-deploy/build-and-test |
| 28 | + - github-maven-deploy/approve-deploy-minor-version: |
| 29 | + type: approval |
| 30 | + requires: |
| 31 | + - github-maven-deploy/build-and-test |
| 32 | + - github-maven-deploy/approve-deploy-major-version: |
| 33 | + type: approval |
| 34 | + requires: |
| 35 | + - github-maven-deploy/build-and-test |
| 36 | + - github-maven-deploy/approve-deploy-as-is-version: |
| 37 | + type: approval |
| 38 | + requires: |
| 39 | + - github-maven-deploy/build-and-test |
| 40 | + |
| 41 | + - github-maven-deploy/deploy-patch-version: |
| 42 | + requires: |
| 43 | + - github-maven-deploy/approve-deploy-patch-version |
| 44 | + <<: *mvn-deploy-command |
| 45 | + - github-maven-deploy/deploy-minor-version: |
| 46 | + requires: |
| 47 | + - github-maven-deploy/approve-deploy-minor-version |
| 48 | + <<: *mvn-deploy-command |
| 49 | + - github-maven-deploy/deploy-major-version: |
| 50 | + requires: |
| 51 | + - github-maven-deploy/approve-deploy-major-version |
| 52 | + <<: *mvn-deploy-command |
| 53 | + - github-maven-deploy/deploy-as-is-version: |
| 54 | + requires: |
| 55 | + - github-maven-deploy/approve-deploy-as-is-version |
| 56 | + <<: *mvn-deploy-command |
0 commit comments