shards icon indicating copy to clipboard operation
shards copied to clipboard

Improved error message for version restrictions

Open beta-ziliani opened this issue 1 year ago • 8 comments

This PR introduces two minor changes as a palliative to #521 :

Output on a failing run when the release doesn't exist:

- molinillo (0.3.0): The closest available release to 0.3.0 is: 0.2.0. These are the latest tags: v0.2.0, v0.1.0.

Output on a failing run when the release is wrongly set (it has a v):

- molinillo (v0.2.0): The closest available release to v0.2.0 is: 0.2.0. These are the latest tags: v0.2.0, v0.1.0.

Output on a failing run when the tag is not a release:

- pqueue (0.2.0): The closest available release to 0.2.0 is: 0.1.0. These are the latest tags: v0.1.0, 0.2.0.

beta-ziliani avatar May 31 '24 13:05 beta-ziliani