Fix repology workflow again, manually update tools/repology.json (#10299)

This commit is contained in:
Maximilian Downey Twiss
2024-08-13 23:19:16 +10:00
committed by GitHub
parent 6590abb658
commit 3cc7fcdd6c
2 changed files with 308 additions and 204 deletions

View File

@@ -16,7 +16,7 @@ Dir.glob('../packages/*.rb').each do |filename|
pkg = Package.load_package(filename)
# Skip fake packages.
next if pkg.is_fake?
output << { name: File.basename(filename, '.rb'), description: pkg.description, homepage: pkg.homepage, version: PackageUtils.get_clean_version(pkg.version), license: pkg.license, compatibility: pkg.compatibility }
output << { name: File.basename(filename, '.rb'), description: pkg.description, homepage: pkg.homepage, version: PackageUtils.get_clean_version(+pkg.version), license: pkg.license, compatibility: pkg.compatibility }
end
File.write('repology.json', JSON.pretty_generate(output))

File diff suppressed because it is too large Load Diff