Skip to content

Commit 9002779

Browse files
authored
chore: Support building backport prod build (#31113)
## **Description** The CircleCI configuration has been updated to treat the branch v12.12.x the same as `master`, allowing us to create a backport build for v12.12.1. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/31113?quickstart=1) ## **Related issues** This is intended to support #31108 ## **Manual testing steps** No easy way to test this ahead of time unfortunately. ## **Screenshots/Recordings** N/A ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
1 parent 64df532 commit 9002779

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.circleci/config.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ workflows:
105105
branches:
106106
ignore:
107107
- master
108+
# Backport branch created for v12.12.1
109+
- stable-v12.12.x
108110
requires:
109111
- prep-deps
110112
- prep-build:
@@ -243,7 +245,10 @@ workflows:
243245
- job-publish-release:
244246
filters:
245247
branches:
246-
only: master
248+
only:
249+
- master
250+
# Backport branch created for v12.12.1
251+
- stable-v12.12.x
247252
requires:
248253
- prep-deps
249254
- prep-build
@@ -385,7 +390,7 @@ jobs:
385390
condition:
386391
not:
387392
matches:
388-
pattern: /^master$/
393+
pattern: /^master|stable-v12\.12\.x$/
389394
value: << pipeline.git.branch >>
390395
steps:
391396
- run:
@@ -394,7 +399,7 @@ jobs:
394399
- when:
395400
condition:
396401
matches:
397-
pattern: /^master$/
402+
pattern: /^master|stable-v12\.12\.x$/
398403
value: << pipeline.git.branch >>
399404
steps:
400405
- run:
@@ -422,7 +427,7 @@ jobs:
422427
condition:
423428
not:
424429
matches:
425-
pattern: /^master$/
430+
pattern: /^master|stable-v12\.12\.x$/
426431
value: << pipeline.git.branch >>
427432
steps:
428433
- run:
@@ -431,7 +436,7 @@ jobs:
431436
- when:
432437
condition:
433438
matches:
434-
pattern: /^master$/
439+
pattern: /^master|stable-v12\.12\.x$/
435440
value: << pipeline.git.branch >>
436441
steps:
437442
- run:
@@ -465,7 +470,7 @@ jobs:
465470
condition:
466471
not:
467472
matches:
468-
pattern: /^master$/
473+
pattern: /^master|stable-v12\.12\.x$/
469474
value: << pipeline.git.branch >>
470475
steps:
471476
- run:
@@ -474,7 +479,7 @@ jobs:
474479
- when:
475480
condition:
476481
matches:
477-
pattern: /^master$/
482+
pattern: /^master|stable-v12\.12\.x$/
478483
value: << pipeline.git.branch >>
479484
steps:
480485
- run:
@@ -506,7 +511,7 @@ jobs:
506511
condition:
507512
not:
508513
matches:
509-
pattern: /^master$/
514+
pattern: /^master|stable-v12\.12\.x$/
510515
value: << pipeline.git.branch >>
511516
steps:
512517
- run:
@@ -515,7 +520,7 @@ jobs:
515520
- when:
516521
condition:
517522
matches:
518-
pattern: /^master$/
523+
pattern: /^master|stable-v12\.12\.x$/
519524
value: << pipeline.git.branch >>
520525
steps:
521526
- run:

0 commit comments

Comments
 (0)