You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We updated recently to the latest release-it version and keep-it-changelog version.
We have an release job in our CI todo automated Gitlab release with release-it but after the update we got an error.
We are using an internal company release versioning, so we use release it with the --no-increment version
and use the version from our package.json instead. Verything was working with those versions:
With the latest version we got the following Error
ERROR Missing section for previous release ("12.0.0") in CHANGELOG.md.
In our package.json the version is version": "12.0.0 in that example.
So we have an Unreleased section in our changelog and the last versions in our changelog.
But it seems keep a changelog thought there should be a last version 12.0.0 but it is the current version that needs to be released.
We had a look into the code on github and tried to debug this. And its working with increment option. When when setting the --no-increment its not working.
Looking into the code we found some conditions and i guess it seems there is a bug. Also what we noticed in the config object lastVersion is given with isIncrement option but with no increment option last version is not passed into config object.
Maybe you could have a look into it ?
We reverted the update but would be great to be able to update and use latest features.
Cheers
The text was updated successfully, but these errors were encountered:
We updated recently to the latest
release-it
version andkeep-it-changelog
version.We have an release job in our CI todo automated Gitlab release with
release-it
but after the update we got an error.We are using an internal company release versioning, so we use release it with the
--no-increment
versionand use the version from our package.json instead. Verything was working with those versions:
With the latest version we got the following Error
In our package.json the version is
version": "12.0.0
in that example.So we have an Unreleased section in our changelog and the last versions in our changelog.
But it seems keep a changelog thought there should be a last version 12.0.0 but it is the current version that needs to be released.
We had a look into the code on github and tried to debug this. And its working with increment option. When when setting the
--no-increment
its not working.Looking into the code we found some conditions and i guess it seems there is a bug. Also what we noticed in the config object lastVersion is given with isIncrement option but with no increment option last version is not passed into config object.
Maybe you could have a look into it ?
We reverted the update but would be great to be able to update and use latest features.
Cheers
The text was updated successfully, but these errors were encountered: