Skip to content

Commit 585ed50

Browse files
authored
feat(sidekick): improve rust-publish logging (#2671)
1 parent e607ea6 commit 585ed50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/sidekick/internal/rust_release/publish.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ func Publish(config *config.Release, dryRun bool, skipSemverChecks bool) error {
7474
return fmt.Errorf("mismatched workspace plan vs. changed crates, probably missing some version bumps (-plan, +changed):\n%s", diff)
7575
}
7676

77+
crateSummary := slices.Collect(maps.Keys(manifests))
78+
totalCrates := len(crateSummary)
79+
crateSummary = crateSummary[0:min(20, totalCrates)]
80+
slog.Info(fmt.Sprintf("there are %d crates in need of publishing, summary=%v", totalCrates, crateSummary))
81+
7782
if !skipSemverChecks {
7883
for name, manifest := range manifests {
7984
if isNewFile(config, lastTag, manifest) {

0 commit comments

Comments
 (0)