@@ -25,6 +25,7 @@ executors:
2525 - image : mbgl/android-ndk-r22:latest
2626 working_directory : ~/code
2727 environment :
28+ LTS_V2_BRANCH_NAME : lts/v2
2829 MBX_CI_DOMAIN : o619qyc20d.execute-api.us-east-1.amazonaws.com
2930 FORCE_MAPBOX_NAVIGATION_NATIVE_VERSION : << pipeline.parameters.mapbox_navigation_native_snapshot >>
3031 ALLOW_SNAPSHOT_REPOSITORY : << pipeline.parameters.mapbox_navigation_native_upstream >>
@@ -43,35 +44,35 @@ workflows:
4344 filters :
4445 branches :
4546 ignore :
46- - main
47- - /release-v .*/
47+ - $LTS_V2_BRANCH_NAME
48+ - /release-v2 .*/
4849 - release-snapshot :
4950 requires :
5051 - release-snapshot-start
5152 - release-snapshot :
5253 filters :
5354 branches :
5455 only :
55- - main
56- - /release-v .*/
56+ - $LTS_V2_BRANCH_NAME
57+ - /release-v2 .*/
5758 - release :
5859 filters :
5960 tags :
60- only : /v .*/
61+ only : /v2 .*/
6162 branches :
6263 ignore : /.*/
6364 - release-androidauto :
6465 filters :
6566 tags :
66- only : /androidauto-v.*/
67+ only : /androidauto-v([0-2]) .*/
6768 branches :
6869 ignore : /.*/
6970 - publish-documentation :
7071 requires :
7172 - release
7273 filters :
7374 tags :
74- only : /^v .*/
75+ only : /^v2 .*/
7576 branches :
7677 ignore : /.*/
7778 daily-billing-tests :
@@ -84,7 +85,7 @@ workflows:
8485 filters :
8586 branches :
8687 only :
87- - main
88+ - $LTS_V2_BRANCH_NAME
8889 default :
8990 jobs :
9091 - assemble
@@ -95,7 +96,7 @@ workflows:
9596 - changelog-verification :
9697 filters :
9798 branches :
98- ignore : /^(main |release-.*)/
99+ ignore : /^($LTS_V2_BRANCH_NAME |release-v2 .*)/
99100 - prepare-static-analysis
100101 - verify-codestyle :
101102 requires :
@@ -442,7 +443,7 @@ commands:
442443 - run :
443444 name : Run Navigation Core SDK Unit Tests and generate Jacoco test report
444445 command : |
445- if [[ "$CIRCLE_BRANCH" == "main " ]]; then
446+ if [[ "$CIRCLE_BRANCH" == "$LTS_V2_BRANCH_NAME " ]]; then
446447 echo "Run all core unit tests"
447448 make core-unit-tests-jacoco
448449 else
@@ -469,7 +470,7 @@ commands:
469470 - run :
470471 name : Run Navigation UI SDK Unit Tests and generate Jacoco test report
471472 command : |
472- if [[ "$CIRCLE_BRANCH" == "main " ]]; then
473+ if [[ "$CIRCLE_BRANCH" == "$LTS_V2_BRANCH_NAME " ]]; then
473474 echo "Run all ui unit tests"
474475 make ui-unit-tests-jacoco
475476 else
0 commit comments