Skip to content

feat(gh-action): align version management mobile and extension#73

Merged
alucardzom merged 15 commits into
mainfrom
ale/unify-create-release-mobile-extension
Jun 11, 2025
Merged

feat(gh-action): align version management mobile and extension#73
alucardzom merged 15 commits into
mainfrom
ale/unify-create-release-mobile-extension

Conversation

@alucardzom
Copy link
Copy Markdown
Contributor

@alucardzom alucardzom commented Jun 5, 2025

These changes are for unifying the release process between extension and mobile, including made the same release version branch, which is different at the moment.

It will create "release/${new_version}" branches as a pattern.

https://github.com/MetaMask/MetaMask-planning/issues/4858

Tests runs:

https://github.com/MetaMask/experimental-metamask-extension-dso-tests/actions/workflows/create-release-pr.yml

These changes are for unifying the release process between extension and
mobile, including made the same release version branch, which is
different at the moment.

It will create `"release/${new_version}"` branches as a pattern.
For testing, we don't wanna execute the spreadsheet step, just create
the commits csv file.
To allow to re-run the workflow, in case there aren't changes to push to
remote
Comment thread .github/scripts/create-platform-release-pr.sh
@alucardzom alucardzom requested review from a team and Gudahtt June 11, 2025 09:09
and remove unused commented lines
@alucardzom alucardzom marked this pull request as ready for review June 11, 2025 09:15
@Qbandev Qbandev requested a review from Copilot June 11, 2025 09:28

This comment was marked as outdated.

@Qbandev Qbandev requested a review from Copilot June 11, 2025 09:29

This comment was marked as outdated.

@Qbandev
Copy link
Copy Markdown
Contributor

Qbandev commented Jun 11, 2025

@alucardzom Do you have test runs?

@alucardzom
Copy link
Copy Markdown
Contributor Author

alucardzom commented Jun 11, 2025

@alucardzom Do you have test runs?

Yes @Qbandev , added to the description, test runs were made as also indicated on Jira within this repo:
https://github.com/MetaMask/experimental-metamask-extension-dso-tests/actions/workflows/create-release-pr.yml

Qbandev
Qbandev previously approved these changes Jun 11, 2025
jluque0101
jluque0101 previously approved these changes Jun 11, 2025
Copy link
Copy Markdown
Contributor

@jluque0101 jluque0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@alucardzom alucardzom dismissed stale reviews from jluque0101 and Qbandev via cd93a6f June 11, 2025 09:55
@Qbandev Qbandev requested a review from Copilot June 11, 2025 10:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR unifies the release process for mobile and extension platforms by aligning version management and branch naming conventions. The key changes include:

  • Adding a new input (github-tools-version) and logging step in the release workflow.
  • Enhancing the semantic version update script with improved validation and mobile-specific checks.
  • Standardizing release branch naming and improving error handling in the platform release PR creation script.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/create-release-pr.yml Added new input for github-tools-version and a step to print input values.
.github/scripts/set-semvar-version.sh Improved input validation, added mobile version consistency check, and updated logs.
.github/scripts/create-platform-release-pr.sh Unified release branch naming and added checks for existing PRs and branch setup.
Comments suppressed due to low confidence (1)

.github/scripts/set-semvar-version.sh:1

  • The file is named 'set-semvar-version.sh' while the script uses the term 'SEMVER_VERSION' in comments and variables. To maintain clarity and consistency, consider renaming the file to 'set-semver-version.sh'.
#!/usr/bin/env bash

@alucardzom alucardzom added enhancement New feature or request team-dev-ops labels Jun 11, 2025
@alucardzom alucardzom merged commit 437da63 into main Jun 11, 2025
18 checks passed
@alucardzom alucardzom deleted the ale/unify-create-release-mobile-extension branch June 11, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request team-dev-ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants