craft icon indicating copy to clipboard operation
craft copied to clipboard

Feature request: check that the "previous" version exists

Open tonyo opened this issue 6 years ago • 2 comments

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.

tonyo avatar Dec 16 '19 16:12 tonyo

It would be super cool to say “prepare patch” instead. Then it checks the last version and bumps up.

jan-auer avatar Dec 16 '19 16:12 jan-auer

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?

BYK avatar Oct 05 '21 17:10 BYK