royteeuwen opened a new pull request, #39:
URL: https://github.com/apache/sling-org-apache-sling-committer-cli/pull/39

   ## What
   
   When `release update-dist` (and by extension `release finalize`) 
auto-deduces which previous release to remove from `dist/release/sling`, it now 
only considers versions **sharing the major version being released**.
   
   Previously it picked the closest older version regardless of major, which 
meant releasing the first version of a new major line would delete the 
still-maintained older line.
   
   ## Behaviour
   
   With `1.2.14` and `2.1.0` both published:
   
   | Releasing | Removed | Kept |
   |---|---|---|
   | `1.2.16` | `1.2.14` | `2.1.0` |
   | `2.1.2` | `2.1.0` | `1.2.14` |
   | `2.0.0` (only `1.2.14` present) | nothing | `1.2.14` |
   
   `--previous-version` still overrides the deduction entirely and is unchanged.
   
   ## Tests
   
   Three new cases in `UpdateDistCommandTest` covering both parallel-stream 
directions and the first-release-of-a-new-major case. Full suite green.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to