invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.11k stars 198 forks source link

fix: `melos version -V` fails to detect commits for manual versions #741

Open feinstein opened 1 month ago

feinstein commented 1 month ago

Is there an existing issue for this?

Version

6.1.0

Description

I am trying to manually set the version of a package, but I get this message:

image

melos fails to find commit messages for manual versions, but appears to find for automatic versions.

This is how my git looked like at the time I run the command:

image

Expected behavior

melos should detect the same commits for manual or automatic versioning and generate the changelog with the same commits messages

spydon commented 1 month ago

What does the changelog look like if you run the manual versioning?

feinstein commented 1 month ago

I don't know, I used the automatic one. I was guessing it would add what I typed?