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
Support string-based `Package.Latest` policies with `never`, `stable`, and
`always`, while keeping legacy boolean values temporarily compatible.
- make `stable` publish `latest` only for stable versions
- keep `always` behavior for stable and preview packages
- map legacy booleans to `always`/`never` with TODO markers for major-version removal
- update schema, tests, examples, and docs to use the new policy model
- deprecate boolean `Package.Latest` values in CHANGELOG
<td>Whether to create companion <code>latest</code> artifacts for each selected type.</td>
401
-
<td>When <code>true</code>, Nova keeps the normal versioned artifact and adds a second file
402
-
such as <code>MyModule.latest.nupkg</code>.
399
+
<td><code>"never"</code></td>
400
+
<td>Controls whether Nova creates companion <code>latest</code> artifacts for each selected type.</td>
401
+
<td>Use <code>"stable"</code> to update <code>latest</code> only for stable versions, <code>"always"</code> for both stable and preview versions, or <code>"never"</code> to disable the floating alias.
403
402
</td>
404
403
</tr>
405
404
<tr>
@@ -650,15 +649,15 @@ <h3>Create both NuGet and Zip artifacts, plus latest aliases</h3>
650
649
<pre><code>{
651
650
"Package": {
652
651
"Types": ["NuGet", "Zip"],
653
-
"Latest": true,
652
+
"Latest": "stable",
654
653
"OutputDirectory": {
655
654
"Path": "artifacts/packages",
656
655
"Clean": true
657
656
}
658
657
}
659
658
}</code></pre>
660
-
<p>This creates four files when both package types are selected: versioned and<code>latest</code>
661
-
variants for each format.</p>
659
+
<p>This creates four files for stable versions when both package types are selected: versioned and
660
+
<code>latest</code>variants for each format.</p>
662
661
663
662
<h3>Use named raw repositories with shared defaults</h3>
0 commit comments