write to releases/ directory

This commit is contained in:
Nemo
2022-05-24 14:58:09 +05:30
parent 3e5a796fe2
commit 47af2f96ea
2 changed files with 108 additions and 4 deletions

View File

@@ -53,5 +53,109 @@
"3.2.6": "2021-08-24",
"3.2.7": "2021-09-01",
"3.2.8": "2021-09-02",
"3.2.9": "2021-09-05"
"3.2.9": "2021-09-05",
"1.0.0": "2015-10-26",
"1.0.1": "2015-10-27",
"1.0.2": "2015-10-28",
"1.0.3": "2015-10-28",
"1.0.4": "2015-10-31",
"1.0.5": "2015-11-05",
"1.0.6": "2015-11-05",
"1.0.7": "2015-11-06",
"1.0.8": "2015-11-12",
"1.0.10": "2015-11-23",
"1.0.11": "2015-12-10",
"1.0.12": "2015-12-17",
"1.0.13": "2015-12-24",
"1.0.14": "2016-01-11",
"1.0.15": "2016-01-18",
"1.0.16": "2016-01-30",
"1.0.17": "2016-02-28",
"1.0.18": "2016-03-17",
"1.0.19": "2016-03-25",
"1.0.20": "2016-03-26",
"1.0.21": "2016-04-07",
"1.0.22": "2016-05-07",
"1.0.23": "2016-05-11",
"1.0.24": "2016-05-11",
"1.0.25": "2016-06-16",
"1.0.26": "2016-06-28",
"1.0.27": "2016-09-23",
"1.0.28": "2016-09-27",
"1.0.9": "2015-11-23",
"2.0.0": "2016-09-30",
"2.0.1": "2016-09-30",
"2.0.2": "2016-10-12",
"2.0.3": "2016-10-13",
"2.0.4": "2016-11-04",
"2.0.5": "2016-11-04",
"2.0.6": "2016-11-15",
"2.0.7": "2016-11-16",
"2.0.8": "2016-11-19",
"2.1.0": "2016-11-22",
"2.1.1": "2016-11-23",
"2.1.10": "2017-01-17",
"2.1.2": "2016-11-23",
"2.1.3": "2016-11-23",
"2.1.4": "2016-12-01",
"2.1.5": "2016-12-12",
"2.1.6": "2016-12-13",
"2.1.7": "2016-12-24",
"2.1.8": "2016-12-28",
"2.1.9": "2017-01-16",
"2.2.0": "2017-02-25",
"2.2.1": "2017-02-26",
"2.2.2": "2017-03-09",
"2.2.3": "2017-03-13",
"2.2.4": "2017-03-13",
"2.2.5": "2017-03-24",
"2.2.6": "2017-03-27",
"2.3.0": "2017-04-27",
"2.3.1": "2017-05-02",
"2.3.2": "2017-05-02",
"2.3.3": "2017-05-10",
"2.3.4": "2017-06-08",
"2.4.0": "2017-07-13",
"2.4.1": "2017-07-13",
"2.4.2": "2017-07-21",
"2.4.3": "2017-09-13",
"2.4.4": "2017-09-14",
"2.5.0": "2017-10-12",
"2.5.1": "2017-10-13",
"2.5.10": "2017-12-12",
"2.5.11": "2017-12-14",
"2.5.12": "2017-12-19",
"2.5.13": "2017-12-19",
"2.5.14": "2018-03-09",
"2.5.15": "2018-03-10",
"2.5.16": "2018-03-13",
"2.5.17": "2018-08-01",
"2.5.18": "2018-12-07",
"2.5.19": "2018-12-09",
"2.5.2": "2017-10-13",
"2.5.20": "2018-12-10",
"2.5.21": "2018-12-11",
"2.5.22": "2019-01-11",
"2.5.3": "2017-11-03",
"2.5.4": "2017-11-16",
"2.5.5": "2017-11-17",
"2.5.6": "2017-11-18",
"2.5.7": "2017-11-20",
"2.5.8": "2017-11-21",
"2.5.9": "2017-11-27",
"2.6.0": "2019-02-04",
"2.6.1": "2019-02-04",
"2.6.10": "2019-03-20",
"2.6.11": "2019-12-13",
"2.6.12": "2020-08-20",
"2.6.13": "2021-06-01",
"2.6.14": "2021-06-07",
"2.6.2": "2019-02-04",
"2.6.3": "2019-02-06",
"2.6.4": "2019-02-08",
"2.6.5": "2019-02-11",
"2.6.6": "2019-02-11",
"2.6.7": "2019-02-21",
"2.6.8": "2019-03-01",
"2.6.9": "2019-03-14"
}

View File

@@ -73,8 +73,8 @@ def get_cache_dir(ecosystem, product, config)
"#{CACHE_DIR}/#{ecosystem}/#{product}_#{h}"
end
def get_output_file(ecosystem, product)
"#{OUTPUT_DIR}/#{ecosystem}/#{product}.json"
def get_output_file(product)
"#{OUTPUT_DIR}/#{product}.json"
end
def generate_commit_message
@@ -132,7 +132,7 @@ Dir.glob("#{WEBSITE_DIR}/products/*.md").each do |product_file|
release_data.merge! get_releases(product, config, i)
end
File.open(get_output_file('git', product), 'w') do |file|
File.open(get_output_file(product), 'w') do |file|
file.write(JSON.pretty_generate(release_data))
end
puts "::endgroup::"