Closed frtibble closed 1 month ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
273 | 0 :zzz: | 0 :x: | 0 :fire: | 35.355s :stopwatch: |
:tada: This PR is included in version 1.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Purpose
The
semantic-release/commit-analyzer
is used in our release Action to parse our commit history and figure out the version for the release. By default, it does not detect the!
syntax which marks a PR as a breaking change. This meant that in our first run of the updated Action, it did not correctly bump the major version despite including a breaking change: https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/releases/tag/v1.2.0This issue comment describes how using a preset we can use the exclamation mark functionality: https://github.com/semantic-release/semantic-release/issues/2339#issuecomment-1451987883.
This PR includes that change, and has been tested using my personal test repository. Note that, when merged, it will not bump the major version since the previous breaking change was considered in an earlier release. It should however apply to any future breaking changes.
Thank you to @cecheta for finding the thread which included the solution used here.
Does this introduce a breaking change?