🌟 [Feature]: Rename AutoCleanup to CleanupPrereleases and separate cleanup from release type #8
+24
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The prerelease cleanup setting is now clearer and more intuitive. The
AutoCleanupsetting has been renamed toCleanupPrereleases, and the cleanup decision is now independent from the release type. This means you can control cleanup behavior separately from whether you're creating a release, prerelease, or no release at all.Renamed setting from AutoCleanup to CleanupPrereleases
The
Publish.Module.AutoCleanupsetting has been renamed toPublish.Module.CleanupPrereleasesfor clarity. The setting still defaults totrue.Before:
After:
Cleanup is now independent from ReleaseType
Previously,
ReleaseTypecould be set toCleanupto trigger prerelease cleanup. Now,ReleaseTypeonly has three values:Release,Prerelease, orNone. The cleanup decision is computed separately based on:CleanupPrereleasesis enabled in your settings (defaults totrue)The computed
Run.CleanupPrereleasesvalue is passed to the workflow and will betruewhen both conditions are met.New Run.CleanupPrereleases output
A new
Run.CleanupPrereleasesproperty is now included in the settings output. This computed value tells the workflow whether prereleases should be cleaned up based on the current context and user settings.