go-semantic-release / semantic-release

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

Tag commit that contains CHANGELOG.md (git-provider) #143

Open swanky-potato opened 2 years ago

swanky-potato commented 2 years ago

Hi,

I might read over it somewhere but I like to commit my generated changelog and tag that commit as the release. So when looking up the release tagged commit contains the Changelog for that release.

I am currently limited to using the plain git provider and Bamboo as CI system, so no fancy GitHub actions etc... My best guess is that I need to use a hook to push the changelog before the tag is applied but don't see an example that explains how to do this.

Is there a simplified example available that shows how to do this?

/label question

adlion commented 1 year ago

I have the same problem in Gitlab. So I need to push something before the tag is applied.