Skip to content

Conversation

gauthierpetetin
Copy link
Contributor

No description provided.

# Initialize branch names
local release_branch_name changelog_branch_name version_bump_branch_name
local previous_release_branch_name release_branch_name changelog_branch_name version_bump_branch_name
previous_release_branch_name=$(get_release_branch_name "$PLATFORM" "$PREVIOUS_VERSION")
Copy link

Choose a reason for hiding this comment

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

Bug: Incorrect Branch Name Calculation

The previous_release_branch_name is incorrectly calculated using the current TEST_ONLY flag. When get_release_branch_name is called with $PREVIOUS_VERSION, it uses the current TEST_ONLY environment variable to determine the branch prefix (e.g., "release-testing/" vs "release/"). This is problematic because the previous release branch might have been created with a different TEST_ONLY setting. Consequently, the script attempts to find a non-existent branch (e.g., "release-testing/7.7.0" when the actual branch is "release/7.7.0"), causing operations like yarn run gen:commits to fail.

Fix in Cursor Fix in Web

@gauthierpetetin gauthierpetetin marked this pull request as draft August 4, 2025 14:27
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.

1 participant