dhoulb / multi-semantic-release

Proof of concept that wraps semantic-release to work with monorepos.
BSD Zero Clause License
203 stars 36 forks source link

fix: support merge workflows in generateNotes #65

Closed reuzel closed 3 years ago

reuzel commented 3 years ago

Fixes #64

The fix is to allow getFilteredCommits to filter based on folder and both lastRelease and nextRelease. This allows generateNotes to filter commits for earlier (merged) releases.

Additionally I needed to copy the getTagHead method from Semantic-Release as they have forgotten to do that on the lastRelease in merge situations...

Added some test cases to support this flow (though I didn't add a full merge scenario)

antongolub commented 3 years ago

CC @davikawasaki

Hey, @reuzel,

Thanks for your PR! I need a couple of days for review (heavy schedule).

antongolub commented 3 years ago

:tada: This PR is included in version 2.8.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: