Hello. I use this tool because the original (@semantic-release/changelog) generates the notes in the changelog.md file whenever a release is generated.
I only want to write the changelog.md file when pushing to the main branch.
That's why I use this plugin with the notation "'branches': ['main']"
The problem is that when I run my pipeline with gitlab ci/cd, the pushes in the develop branch are writing to changelog.md
I'm sure I'm not doing something right but I've analyzed the code and I haven't found code that makes me think there is branch exclusion. It's probably my mistake again and I don't know how to look for it properly.
Hello. I use this tool because the original (@semantic-release/changelog) generates the notes in the changelog.md file whenever a release is generated.
I only want to write the changelog.md file when pushing to the main branch.
That's why I use this plugin with the notation "'branches': ['main']"
The problem is that when I run my pipeline with gitlab ci/cd, the pushes in the develop branch are writing to changelog.md
I'm sure I'm not doing something right but I've analyzed the code and I haven't found code that makes me think there is branch exclusion. It's probably my mistake again and I don't know how to look for it properly.
Greetings and thank you.