go-semantic-release / semantic-release

📦🚀 semantic-release written in Go
https://go-semantic-release.xyz
MIT License
405 stars 43 forks source link

Weird version displayed on merge commit #12

Closed leifg closed 7 years ago

leifg commented 7 years ago

The tool works great if you have a flat commit history. But when you have a merge commit from a PR, the whole commit will be taken as a name. See the latest release of my app.

This is due to the fact that the version name is left empty (see in api response).

An easy fix could be explicitly setting the name.

christophwitzko commented 7 years ago

Hi @leifg, thanks for reporting the issue. This looks like some weird GitHub bug, but your recommended fix sounds reasonable to me. I will try to fix that by next week.