melos icon indicating copy to clipboard operation
melos copied to clipboard

`melos version` to support cherry-picks

Open Gustl22 opened this issue 4 months ago • 0 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

melos version --fix-changelog

Description

If having bug fixes or smaller features which are cherry-picked into a separate "release" branch, the changelog is created accordingly. Then the changelog is cherry-picked into the main branch. Is there some mechanism to avoid having duplicate entries (when doing a further e.g. major release on main) then, or even let melos fix the existing entries by changing the hash of cherry-picked commits?

Reasoning

Now I have to adapt the changelog manually, to remove duplicate entries / change the hashes.

Additional context and comments

No response

Gustl22 avatar Mar 19 '24 06:03 Gustl22