Skip to content

Commit

Permalink
Add versioned payloads for bw compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Sep 13, 2024
1 parent c024148 commit 44d6032
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conda_forge_tick/status_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ def write_version_migrator_status(migrator, mctx):
)

with open("./status/version_status.json", "w") as f:
old_out = out.copy()
old_out["queued"] = set(out["queued"].keys())
old_out["errored"] = set(out["errors"].keys())
json.dump(old_out, f, sort_keys=True, indent=2, default=_sorted_set_json)

with open("./status/version_status.v2.json", "w") as f:
json.dump(out, f, sort_keys=True, indent=2, default=_sorted_set_json)


Expand Down

0 comments on commit 44d6032

Please sign in to comment.