Skip to content

Commit

Permalink
Suffix the branch name with a timestamp when creating a new branch to…
Browse files Browse the repository at this point in the history
… build a release candidate (DataDog#31660)
  • Loading branch information
FlorentClarret authored Dec 2, 2024
1 parent 0200b9d commit 8540f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def create_rc(ctx, major_versions="6,7", patch_version=False, upstream="origin",

# Check that the current and update branches are valid
current_branch = get_current_branch(ctx)
update_branch = f"release/{new_highest_version}"
update_branch = f"release/{new_highest_version}-{int(time.time())}"

check_clean_branch_state(ctx, github, update_branch)
if not check_base_branch(current_branch, new_highest_version):
Expand Down

0 comments on commit 8540f58

Please sign in to comment.