You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to turn GitHub releases into a changelog, and vice-versa. Our Changelog.java would be helpful for this. In pseudocode:
importcom.diffplug.spotless.changelog.Changelog;
importcom.diffplug.spotless.changelog.Changelog.VersionEntry;
// this won't compile, but the main APIs are already presentChangelogempty = newChangelog("## [Unreleased]\n");
ChangelogwithGitHub = empty.withMutatedVersions(versions -> {
for (GitHubReleaser : GitHubApi.releases()) {
versions.add(VersionEntry.versionDate(r.version(), r.date())
.setChanges(r.releaseNotes()));
}
})
System.out.println(withGitHub.toStringUnix());
We'd be happy to merge any PRs which add GitHub integration (in either direction) into spotless-changelog-lib. Once that has been accomplished, we'd be happy to merge any PRs which add GitHub-related functionality into the gradle plugin.
The text was updated successfully, but these errors were encountered:
It would be useful to turn GitHub releases into a changelog, and vice-versa. Our
Changelog.java
would be helpful for this. In pseudocode:We'd be happy to merge any PRs which add GitHub integration (in either direction) into
spotless-changelog-lib
. Once that has been accomplished, we'd be happy to merge any PRs which add GitHub-related functionality into the gradle plugin.The text was updated successfully, but these errors were encountered: