Skip to content

fix: melos --graduate doesn't generate changelog entries #782

@VinhNgT

Description

@VinhNgT

Is there an existing issue for this?

  • I have searched the existing issues.

Version

6.2.0

Description

When the application is in 'pre-release' state, running melos version -g does not include changes made in the CHANGELOG.md.

Steps to reproduce

  1. Enter pre-release state by running melos version -p
  2. Commit some changes
  3. Graduate by melos version -g

View CHANGELOG.md, we will not see the commit that we just made, only:

 - Graduate package to a stable release. See pre-releases prior to this version for changelog entries. 

Expected behavior

The commit should be included in the CHANGELOG.md when we graduate the application.

Screenshots

Code_oac2rFLkje.mp4

Additional context and comments

Related: #264
Also I have a git hook that automatically adds the package nickname to the commit, that's why in the video when I commit it shows as feat(drv_lcn):... instead of just feat:...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkeep openkeep PRs/issue open for further investigation before accepting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions