-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
It seems like release-it is passing the latest version as 0.0.0 on repositories without any tag/release, but node-calver is unable to increment this value because it is not valid (see validation).
I've created two identical repositories to reproduce the problem (both contain only two commits):
- gl3b4ik/release-it-calver-manual - here I've manually created tag/release with
YYYY.MM.MINORformat on first commit andrelease-it --cicreated correct version2023.10.1on second commit. - gl3b4ik/release-it-calver-initial - there are no previously created tags/releases so
release-it --cicreated versionv0.0.0. Any following try to bump the version will fail becausev0.0.0is the latest version andrelease-it-calver-pluginwill return this version as bumped sorelease-it --ciwill fail due to conflict (tag already exists).
donaldshen, texlan, onyxraven, erikbrgn, webmatrixxxl and 2 more
Metadata
Metadata
Assignees
Labels
No labels