Skip to content

Commit

Permalink
Create intermediate branches for code freeze & finalize release PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkocer committed Apr 25, 2024
1 parent 854e8d0 commit c0e5518
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fastlane/lanes/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@

trigger_beta_build(branch_to_build: "release/#{new_version}")

# Create an intermediate branch
Fastlane::Helper::GitHelper.create_branch("code_freeze/#{release_version}")
create_release_management_pull_request('trunk', "Merge #{new_version} code freeze to trunk")
end

Expand Down Expand Up @@ -319,6 +321,8 @@
# Trigger release build
trigger_release_build(branch_to_build: "release/#{version_name}")

# Create an intermediate branch
Fastlane::Helper::GitHelper.create_branch("finalize_release/#{release_version}")
create_release_management_pull_request('trunk', "Merge #{version_name} final to trunk")
end

Expand Down

0 comments on commit c0e5518

Please sign in to comment.