utility app SourceLink.MilestoneReleaseNotes
It is a utility app for making release notes from a GitHub milestone. It lists of the Issues and Pull Requests with links for a milestone. It is a global tool that you install with:
dotnet tool install -g SourceLink.MilestoneReleaseNotes -v 3.1.0
You can pass in settings using environment variables with a prefix of RELEASE_NOTES_
and/or command-line arguments using any of the three supported argument formats. Both environment variables and command-line arguments are not case sensitive. For this initial release, a personal access token is required. Use https://github.com/settings/tokens to get a token. This is how I created the release notes for 3.0.0 below:
$env:RELEASENOTES_GITHUBTOKEN = "4a778826b72c03abe6a0034d7bf6233473ffa017"
milestonereleasenotes.exe githubowner=ctaggart githubrepository=sourcelink milestone=3.0.0
For GitHub Enterprise, you will need get a token for it instead and also configure the GitHubUrl setting, for example:
generate token at https://github.mycompany.com/settings/tokens
and set it:
$env:RELEASENOTES_GITHUBURL = "https://github.mycompany.com"
$env:RELEASENOTES_GITHUBTOKEN = "a48cb0bf54175479550f70dd8807fcbbf820902b"
Pull Requests
- #370 add SourceLink.MilestoneReleaseNotes