Skip to content

Commit

Permalink
distro metadata update
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 committed Nov 27, 2024
1 parent 3138b0c commit 4a570ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
# Define the new links
new_link1 = "https://github.com/t2linux/T2-Ubuntu/releases/download/v${{ env.isotag }}/ubuntu-24.10-${{ env.kver }}-t2-oracular.iso.00"
new_link2 = "https://github.com/t2linux/T2-Ubuntu/releases/download/v${{ env.isotag }}/ubuntu-24.10-${{ env.kver }}-t2-oracular.iso.01"
new_link3 = "https://github.com/t2linux/T2-Ubuntu/releases/download/v${{ env.isotag }}/ubuntu-24.10-${{ env.kver }}-t2-oracular.iso.02"
# Load the JSON file
with open('distro-metadata.json', 'r') as file:
data = json.load(file)
Expand All @@ -76,7 +77,7 @@ jobs:
if distro['name'] == name:
distro['iso'] = new_links
# Update the links
update_links(data['all'], "Ubuntu 24.10 - Oracular Oriole", [new_link1, new_link2])
update_links(data['all'], "Ubuntu 24.10 - Oracular Oriole", [new_link1, new_link2, new_link3])
# Save the updated JSON back to the file
with open('distro-metadata.json', 'w') as file:
json.dump(data, file, indent=2)
Expand Down

0 comments on commit 4a570ee

Please sign in to comment.