Skip to content

Fix/create release pr GitHub action 2 - #93

Draft
gauthierpetetin wants to merge 2 commits into
mainfrom
fix/create-release-pr-github-action-2
Draft

Fix/create release pr GitHub action 2#93
gauthierpetetin wants to merge 2 commits into
mainfrom
fix/create-release-pr-github-action-2

Conversation

@gauthierpetetin

Copy link
Copy Markdown
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
Copy Markdown

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 currentTEST_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 CursorFix in Web

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

@gauthierpetetin