Update github status tool (#2257)
This commit is contained in:
Родитель
e4008daca4
Коммит
6b10bab2d1
|
@ -368,6 +368,9 @@ function processIssues(issues) {
|
||||||
if (lastMonth < openMonth) {
|
if (lastMonth < openMonth) {
|
||||||
lastMonth = openMonth;
|
lastMonth = openMonth;
|
||||||
}
|
}
|
||||||
|
if (openYear > lastYear) {
|
||||||
|
lastYear = openYear;
|
||||||
|
}
|
||||||
|
|
||||||
if (closedAt) {
|
if (closedAt) {
|
||||||
let closeYear = closedAt.getFullYear();
|
let closeYear = closedAt.getFullYear();
|
||||||
|
@ -417,6 +420,8 @@ function processIssues(issues) {
|
||||||
|
|
||||||
let filename = `issues-${_startMonth + 1}-${lastMonth + 1}`;
|
let filename = `issues-${_startMonth + 1}-${lastMonth + 1}`;
|
||||||
|
|
||||||
|
//console.log(`Reporting from: ${firstYear} to ${lastYear} - ${_startMonth + 1} to ${lastMonth + 1}`);
|
||||||
|
|
||||||
logMessage(`Reporting from: ${_startMonth + 1} to ${lastMonth + 1}`);
|
logMessage(`Reporting from: ${_startMonth + 1} to ${lastMonth + 1}`);
|
||||||
logHeader("Issues", firstYear, lastYear, lastMonth, openIssues);
|
logHeader("Issues", firstYear, lastYear, lastMonth, openIssues);
|
||||||
dumpCount("New", openIssues, firstYear, lastYear, lastMonth, "opened");
|
dumpCount("New", openIssues, firstYear, lastYear, lastMonth, "opened");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче