Using semantic-release in our Github workflows.
They are setup like this:
[
{name: 'main', prerelease: false},
{name: 'staging', prerelease: true},
{name: 'development', prerelease: true}
]
Pushes to development
are deployed to development
environment, staging
to staging
etc.
Now with the package above every time the version is bumped, semantic-release
creates a changelog using semantic-release/changelog.
How should we handle the conflicting changelogs in the different branches now?
- Option: Only enable changelog creation on
release
branches. (I don't know how. Plugin has no such option.) - Option: Automatically merge back the changelog into the 'hierarchically' lower branch. E.g.
staging
back intodevelopment
.
I am wondering is there anyone out there with a similar problem?