diff --git a/tasks/release.py b/tasks/release.py index c07edfa4d682a..d4a27b43cc8c6 100644 --- a/tasks/release.py +++ b/tasks/release.py @@ -1213,17 +1213,17 @@ def check_for_changes(ctx, release_branch, warning_mode=False): if last_tag_commit != "" and last_tag_commit != head_commit: changes = 'true' print(f"{repo_name} has new commits since {last_tag_name}", file=sys.stderr) - if warning_mode: - team = "agent-integrations" - emails = release_manager(next_version.clone(), team) - warn_new_commits(emails, team, repo['branch'], next_version) - else: - if repo_name not in ["datadog-agent", "integrations-core"]: - with clone(ctx, repo_name, repo['branch'], options="--filter=blob:none --no-checkout"): - # We can add the new commit now to be used by release candidate creation - print(f"Creating new tag {next_version} on {repo_name}", file=sys.stderr) - ctx.run(f"git tag {next_version}") - ctx.run(f"git push origin tag {next_version}") + # if warning_mode: + # team = "agent-integrations" + # emails = release_manager(next_version.clone(), team) + # warn_new_commits(emails, team, repo['branch'], next_version) + # else: + # if repo_name not in ["datadog-agent", "integrations-core"]: + # with clone(ctx, repo_name, repo['branch'], options="--filter=blob:none --no-checkout"): + # # We can add the new commit now to be used by release candidate creation + # print(f"Creating new tag {next_version} on {repo_name}", file=sys.stderr) + # ctx.run(f"git tag {next_version}") + # ctx.run(f"git push origin tag {next_version}") # This repo has changes, the next check is not needed continue if repo_name != "datadog-agent" and last_tag_name != repo['previous_tag']: