Skip to content

Conversation

@XxdpavelxX
Copy link
Contributor

@XxdpavelxX XxdpavelxX commented Oct 24, 2025

Testing examples:
IOS Dev: https://app.bitrise.io/build/44273036-d3e2-4b85-a132-c671030ff7ad?tab=artifacts
Android Dev: https://app.bitrise.io/build/74e16bdb-4894-4506-b8d4-4cf27a1ea182
IOS Prod: https://app.bitrise.io/build/a42361ad-471b-4f7c-9812-8d8d6484e057
Android Prod: https://app.bitrise.io/build/df7ad45b-e9c3-45d9-a138-73c09cf5f9b7?tab=artifacts

Testing shop pipeline: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/38311728-ef76-4b60-a021-0f86a5a9e111

Description

Add environment to end of build name
https://consensyssoftware.atlassian.net/browse/INFRA-3073

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

Note

Add environment-specific semver suffixing during prebuild and update iOS/Android/Bitrise version fields accordingly.

  • Build/versioning:
    • scripts/build.sh now derives BASE_VERSION from package.json and sets the app version per environment:
      • Production uses BASE_VERSION.
      • Non-production appends -$METAMASK_ENVIRONMENT when invoking scripts/set-semvar-version.sh for both iOS and Android.
    • iOS prebuild notes: keep CFBundleShortVersionString as base; use suffixed version only for build identification.
    • Android prebuild keeps production clean; uses suffixed version for other envs.
  • Versioning script (scripts/set-semvar-version.sh):
    • Parses BASE_VERSION and updates:
      • package.json version to full semver (possibly suffixed).
      • Android versionName and bitrise.yml VERSION_NAME to full semver.
      • iOS MARKETING_VERSION to base version and CURRENT_PROJECT_VERSION to full semver (macOS/Linux sed variants).

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

@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-dev-ops DevOps team label Oct 24, 2025
cursor[bot]

This comment was marked as outdated.

@XxdpavelxX XxdpavelxX self-assigned this Oct 27, 2025
@XxdpavelxX XxdpavelxX requested a review from sethkfman October 27, 2025 15:26
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants