Skip to content

fix(release branch name): cleanup deprecated release branch name#146

Merged
gauthierpetetin merged 1 commit into
mainfrom
cleanup-release-branch-name
Oct 20, 2025
Merged

fix(release branch name): cleanup deprecated release branch name#146
gauthierpetetin merged 1 commit into
mainfrom
cleanup-release-branch-name

Conversation

@gauthierpetetin
Copy link
Copy Markdown
Contributor

@gauthierpetetin gauthierpetetin commented Oct 20, 2025

Since we've aligned Extension and Mobile release branch names, we no longer use the deprecated format: Version-vx.y.z.
The purpose of this PR is to cleanup the repo and remove all traces of the deprecated format for release branch names.


Note

Switch all scripts and tests to use release/{version} branches and "release: {version}" titles, removing legacy Version-v handling.

  • Scripts:
    • create-platform-release-pr.sh: Only treats previous_version_ref as a branch if it matches release/x.y.z (drops Version-vx.y.z).
  • Release timelines:
    • get-release-timelines.sh: Use release/${VERSION} for --head and expect PR title release: ${VERSION}.
  • Slack release testing:
    • slack-release-testing.mjs: Remove getReleaseBranchName; directly query PRs for release/${version}.
  • Tests:
    • tests/test-create-platform-release-pr-full.sh: Update inputs to use release/{version} for release and bump PRs.

Written by Cursor Bugbot for commit e5e7091. This will update automatically on new commits. Configure here.

@gauthierpetetin gauthierpetetin merged commit 3b4244a into main Oct 20, 2025
20 checks passed
@gauthierpetetin gauthierpetetin deleted the cleanup-release-branch-name branch October 20, 2025 13:57
github-merge-queue Bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
…3.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
> 
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
github-merge-queue Bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
…3.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
> 
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
github-merge-queue Bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
…3.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
> 
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
runway-github Bot added a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
… cp-13.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
> 
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
runway-github Bot added a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
… cp-13.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
>
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
runway-github Bot pushed a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
…ated release branch name cp-13.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Standardizes on `release/X.Y.Z` by removing `Version-vX.Y.Z` support
across workflows, scripts, and build utils.
> 
> - **CI/Workflows**:
> - Restrict triggers and conditions to `release/*` (remove
`Version-v*`) in `auto-create-release-pr.yml`,
`auto-update-pr-targeting-release.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml`,
`tag-release-branch.yml`.
> - **Scripts**:
> - `scripts/extract-semver.sh`: accept only `release/X.Y.Z`; update
error message.
> - `scripts/get-next-semver-version.sh`: derive next version from
`release/*` branches only.
> - `scripts/close-release-bug-report-issue.ts`: extract version only
from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: detect release-candidate env only for
`release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
33a5309. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
gauthierpetetin added a commit to MetaMask/metamask-extension that referenced this pull request Oct 21, 2025
…ated release branch name cp-13.6.0 (#37015)

- fix(release branch name): cleanup deprecated release branch name
cp-13.6.0 (#36991)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Since we've aligned Extension and Mobile release branch names, we no
longer use the deprecated format: `Version-vx.y.z`.
The purpose of this PR is to cleanup the repo and remove all traces of
the deprecated format for release branch names.

Similar changes from github-tools repo can be found in this PR and have
been imported: MetaMask/github-tools#146

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

[![Open in GitHub

Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/36991?quickstart=1)

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Drop all support for `Version-vX.Y.Z` branches; only `release/X.Y.Z`
is recognized across scripts, workflows, and build logic, plus update
some GitHub Tools refs.
> 
> - **CI/Workflows**:
> - Narrow triggers/conditions to `release/*` only in
`auto-create-release-pr.yml`, `check-attributions.yml`,
`check-pr-max-lines.yml`, `close-bug-report.yml`,
`create-bug-report.yml`, `main.yml`, `publish-prerelease.yml`,
`release-pr-approval.yml`, `repository-health-checks.yml` (changelog
checks), and `auto-update-pr-targeting-release.yml`.
> - `tag-release-branch.yml`: accept and validate only `release/X.Y.Z`
branches.
> - Update GitHub Tools refs in `create-release-pr-legacy.yml` and
`get-release-timelines.yml` to commit `3b4244a...`.
> - **Scripts**:
> - `.github/scripts/extract-semver.sh`: remove `Version-v` handling;
require `release/X.Y.Z`.
> - `.github/scripts/get-next-semver-version.sh`: compute highest
version from `release/*` only.
> - `.github/scripts/close-release-bug-report-issue.ts`: extract version
only from `release/X.Y.Z`.
> - **Build**:
> - `development/build/utils.js`: classify
`ENVIRONMENT.RELEASE_CANDIDATE` only for `release/X.Y.Z` branches.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
09bf651. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->


[b2534a9](b2534a9)

Co-authored-by: Gauthier Petetin <gauthierpetetin@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants