Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Update combine_sizes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theycallhermax authored Oct 28, 2023
1 parent 01885e6 commit bbd45dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/combine_sizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@

# Calculate average sizes for distros with multiple versions
all_sizes["ubuntu_average"] = round(
(all_sizes["ubuntu_22.04"]["cli"] + all_sizes["ubuntu_23.04"]["cli"]) / 2, 1)
all_sizes["fedora_average"] = round((all_sizes["fedora_38"]["cli"] + all_sizes["fedora_39"]["cli"]) / 2, 1)
(all_sizes["ubuntu_22.04"]["cli"] + all_sizes["ubuntu_23.10"]["cli"]) / 2, 1)
all_sizes["fedora_average"] = round((all_sizes["fedora_39"]["cli"] / 2, 1)

with open("os_sizes.json", "w") as f:
json.dump(all_sizes, f, indent=2, sort_keys=True)

0 comments on commit bbd45dd

Please sign in to comment.