1/ Add genreate.go under cmd folder for changelog generate command.
2/ Use github-go instead of using raw http call.
The changelog command:
1/ Add a new global flag --debug to output the verbose log.
The changelog generate command:
1/ Fall back to local git command to retrieve commits.
2/ New flags. The flags of generate now are:
OPTIONS:
--repo-path value The repository path (/path/to/your/repository)
--changelog-path value The changelog folder relative path (changelog/unreleased/kong)
--title value The title name (Kong)
--changelog-paths value [ --changelog-paths value ] The changelog folder relative paths (changelog/unreleased/kong)
--github-issue-repo value The repo name that is used to compose the GitHub issue link. (OWNER/REPO)
--github-api-repo value The repo name that is used to compose the GitHub URL to retrieve data. (OWNER/REPO)
--with-jiras Display Jira links (default: false)
--help, -h show help
Summary:
General:
1/ Add
genreate.go
undercmd
folder forchangelog generate
command. 2/ Usegithub-go
instead of using raw http call.The
changelog
command:1/ Add a new global flag
--debug
to output the verbose log.The
changelog generate
command:1/ Fall back to local git command to retrieve commits. 2/ New flags. The flags of generate now are: