.NET tool to clean GitHub milestones before doing a release.
dotnet tool install -g GitHubMilestoneCleaner
Get Help
dotnet gh-milestone-cleaner --help
Clean version bumps in a milestone
When dependabot or renovate are activated in a project it is possible that the same dependency is
bumped multiple times between releases. For clarity each release/milestone should contain only
the latest/newest release. The version-bumps
command is used to cleanup multiple bumps of the
same dependency.
Example: Silently remove all issues from the milestone, that are detected as version bumps and have newer versions.
dotnet gh-milestone-cleaner version-bumps `
-o [owner] `
-r [repo-name] `
-t [token] `
-m [milestone] `
-q
Example: Interactively remove some issues from a milestone.
dotnet gh-milestone-cleaner version-bumps `
-o cake-build `
-r cake-rider `
-t "my-secure-token" `
-m 2.0.0 `
-s "manually removed" `
-i "manually removed"
GitHubMilestoneCleaner follows the Contributor Covenant Code of Conduct.
We accept Pull Requests.
Small note: If editing the Readme, please conform to the standard-readme specification.