Skip to content

Support minPublishAgeHours source setting - #664

Merged
SimonCropp merged 4 commits into
mainfrom
min-publish-age
Oct 15, 2026
Merged

SimonCropp merged 4 commits into
mainfrom
min-publish-age

Conversation

@SimonCropp

Copy link
Copy Markdown
Owner

Honours the minPublishAgeHours attribute on nuget.config package sources (set via dotnet nuget add/update source --min-publish-age-hours, see https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/rc2/nuget.md#configure-minimum-package-publication-age-from-the-cli). Versions published within the cooldown are skipped for that source.

NuGet.Configuration 7.9.0 has no API for the setting and SourceItem drops unknown attributes, so the config files are read directly.

@SimonCropp SimonCropp added this to the 4.6.0 milestone Oct 15, 2026
@SimonCropp
SimonCropp merged commit df322d5 into main Oct 15, 2026
4 checks passed
@SimonCropp
SimonCropp deleted the min-publish-age branch October 15, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant