mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
Provide useful information for contributors (#7994)
* Update parse-changelog.py * Update win-build.bat * Update win-build.bat * Update win-build.bat
This commit is contained in:
parent
ddfb032959
commit
d7bea02361
2 changed files with 11 additions and 3 deletions
|
|
@ -3,8 +3,8 @@ import re
|
|||
from argparse import ArgumentParser
|
||||
from collections import defaultdict
|
||||
|
||||
import github
|
||||
|
||||
import github # pip install PyGithub
|
||||
# ensure the milestone is open before run this
|
||||
docmap = {
|
||||
"Feature": "Feature",
|
||||
"Enhancement": "Enhancement",
|
||||
|
|
@ -35,7 +35,7 @@ def generate_msg_from_repo(repo_name, tag_name, lastestRelease):
|
|||
repo = gh.get_repo(repo_name)
|
||||
milestone = find_milestone(repo, tag_name, lastestRelease)
|
||||
|
||||
for issue in repo.get_issues(state="closed", milestone=milestone):
|
||||
for issue in repo.get_issues(state="closed", milestone=milestone): # type: ignore
|
||||
# REF https://pygithub.readthedocs.io/en/latest/github_objects/Issue.html#github.Issue.Issue
|
||||
desc_mapping[get_issue_first_label(issue)].append(
|
||||
{"title": issue.title, "url": issue.html_url}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue