Skip to content

Commit

Permalink
test Nicolas' fix [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 6, 2025
1 parent e83bd7e commit 087dafc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tasks/libs/releasing/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,14 @@ def set_new_release_branch(branch):


def generate_repo_data(ctx, warning_mode, next_version, release_branch):
repos = ["integrations-core"] if warning_mode else ALL_REPOS
if warning_mode:
# Warning mode is used to warn integrations so that they prepare their release version in advance.
repos = ["integrations-core"]
elif next_version.major == 6:
# For Agent 6, we are only concerned by datadog-agent. The other repos won't be updated.
repos = ["datadog-agent"]
else:
repos = ALL_REPOS
previous_tags = find_previous_tags("release-a7", repos, RELEASE_JSON_FIELDS_TO_UPDATE)
data = {}
for repo in repos:
Expand Down

0 comments on commit 087dafc

Please sign in to comment.