Skip to content

Commit

Permalink
avoid tagging since this is just a test
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 11, 2024
1 parent 62dd416 commit 61bae4b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down

0 comments on commit 61bae4b

Please sign in to comment.