Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add other repositories #40

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1ea5e56
fix move changes to milestone.js
MasayukiYAMA Jan 5, 2022
2f4f87d
add issueSentense
MasayukiYAMA Jan 5, 2022
aa47b07
add line
MasayukiYAMA Jan 5, 2022
811a824
define 'fetchListMilestones' and 'fetchListForRepo'
MasayukiYAMA Jan 5, 2022
81a3a10
tidy up
MasayukiYAMA Jan 6, 2022
85f66b9
log for debug
MasayukiYAMA Jan 6, 2022
566370a
also
MasayukiYAMA Jan 6, 2022
3e4705f
gix
MasayukiYAMA Jan 6, 2022
97f64bf
fix
MasayukiYAMA Jan 6, 2022
76c6c57
fix
MasayukiYAMA Jan 6, 2022
5b60f7e
fix
MasayukiYAMA Jan 6, 2022
7043978
add version
MasayukiYAMA Jan 6, 2022
b394c7a
fix
MasayukiYAMA Jan 6, 2022
754ed4d
add await
MasayukiYAMA Jan 6, 2022
011ea8a
fix
MasayukiYAMA Jan 6, 2022
38985fc
fix
MasayukiYAMA Jan 6, 2022
e90e1d0
fix
MasayukiYAMA Jan 6, 2022
50d120b
fix
MasayukiYAMA Jan 6, 2022
4025246
log
MasayukiYAMA Jan 6, 2022
e4c253f
log
MasayukiYAMA Jan 6, 2022
d0ff68a
fix
MasayukiYAMA Jan 11, 2022
0a319e4
fix
MasayukiYAMA Jan 11, 2022
9aa1d01
fix
MasayukiYAMA Jan 11, 2022
f98e273
fix
MasayukiYAMA Jan 11, 2022
382f8c7
add print
MasayukiYAMA Jan 11, 2022
9f10ef4
add version
MasayukiYAMA Jan 11, 2022
1d39a10
合体
MasayukiYAMA Jan 12, 2022
450a34d
prepare
MasayukiYAMA Jan 12, 2022
043d3cc
push for test
MasayukiYAMA Jan 12, 2022
db625f4
fix
MasayukiYAMA Jan 12, 2022
ff1fe53
add
MasayukiYAMA Jan 12, 2022
b050ea1
implement as production
MasayukiYAMA Jan 12, 2022
8fb92b9
fix error
MasayukiYAMA Jan 12, 2022
bd7f36f
fix label
MasayukiYAMA Jan 12, 2022
975b244
generate_releaseでラベルなしの変更、zefyrとfunctionsの変更を含めるようにした (#2)
MasayukiYAMA Jan 12, 2022
8ab399f
return description
MasayukiYAMA Jan 13, 2022
988e500
comment
MasayukiYAMA Jan 14, 2022
6f6e22b
handling for empty milestone
MasayukiYAMA Jan 14, 2022
d4067c3
test
MasayukiYAMA Jan 14, 2022
2e9bd16
required fetch
MasayukiYAMA Jan 16, 2022
f49cd18
conflict
MasayukiYAMA Jan 16, 2022
4659658
fix
MasayukiYAMA Jan 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
handling for empty milestone
MasayukiYAMA committed Jan 14, 2022
commit 6f6e22bd27a28a4ad0aafec8d50176b76073017e
6 changes: 4 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions milestone.js
Original file line number Diff line number Diff line change
@@ -77,6 +77,7 @@ const createRelease = async (octokit, version, branch, body) => {
milestone = milestones[0];
}
if(!milestone) {
core.info(`${repo} has not '${version}' milestone`)
throw new Error("milestone is not found");
}
return milestone;
@@ -123,8 +124,9 @@ const generateDescriptionFromRepository = async (octokit, version, repository) =
repo: repository,
})

core.info(repository);
core.info(milestone);
if(!milestone) {
return '';
}
core.info(`Start create release for milestone ${milestone.title}`);

const issues = await fetchIssues(