[FEATURE] Update CI script (semantic-release)
Closed this issue · 0 comments
Is your feature request related to a problem? Please describe.
When pushing new commits or merging PRs in the main branch, the CI for new releases is triggered. Therefore, a new PR is created if a new release should be created.
This allows me to control the release and versioning while having an automatic semver bump.
However, if the PR or release branch already exists, the CI will fail and will not update the PR / release branch.
Describe the solution you'd like
The solution would be to update the script in the .releaserc
file that controls the release behaviour. Therefore, I need to create a bash script, based on what is already written in the .releaserc
file.
Describe alternatives you've considered
Deleting the release branch and associated PR, then re-run the job.
Additional context