Repository navigation
ci: use conventionalcommits release preset - #222
Merged
Merged
Conversation
|
🎉 This PR is included in version 8.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#218 was squash-merged as
feat!: target .NET 10 and update dependencies, and the squash dropped the commit body. The publish run on master found no release: "Analysis of 1 commits complete: no release".semantic-release's default
angularpreset does not understand the!breaking-change marker. It only sees theBREAKING CHANGE:footer, and the squash removed it. Version 8.0.0 was never published, and NuGet still shows 7.1.2.What
.releaserc:commit-analyzerandrelease-notes-generatornow use theconventionalcommitspreset, which recognizesfeat!:/fix!:in the header.conventional-changelog-conventionalcommits@8toextra_plugins. This is the preset package for semantic-release 24.actions/checkout@v7andactions/setup-dotnet@v6. They were bumped on the feat!: target .NET 10 and update dependencies #218 branch after it had already been merged.Expected result
After merge, semantic-release analyzes the commits since
v7.1.2. That includes7ed5417 feat!: ..., so it should publish 8.0.0 to nuget.org (net10.0 packages).