craft
craft copied to clipboard
Feature request: check that the "previous" version exists
When preparing a release, validate the new release number by checking if there's a release that might be called "previous".
Example: when we're releasing version 1.2.4, 1.2.3 should probably exist.
It would be super cool to say “prepare patch” instead. Then it checks the last version and bumps up.
This became quite feasible after #285. We can combine this with https://github.com/npm/node-semver and achieve what @jan-auer suggested.
Would this still be cool?