-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Enabling workflows for semantic release
Signed-off-by: Vasil Boyadzhiev <vasil.boyadzhiev@limechain.tech>
- Loading branch information
Showing
5 changed files
with
146 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"branches": ["main", "develop"], | ||
"plugins": [ | ||
["@semantic-release/commit-analyzer", { | ||
"preset": "conventional-commits", | ||
"releaseRules": [ | ||
{"type": "breaking", "release": "minor"}, | ||
{"type": "feat", "release": "minor"}, | ||
{"type": "fix", "release": "patch"}, | ||
{"type": "docs", "release": "patch"}, | ||
{"type": "style", "release": "patch"}, | ||
{"type": "refactor", "release": "patch"}, | ||
{"type": "perf", "release": "patch"}, | ||
{"type": "test", "release": "patch"}, | ||
{"type": "ci", "release": "patch"}, | ||
{"type": "chore", "release": "patch"} | ||
], | ||
"parserOpts": { | ||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] | ||
} | ||
}], | ||
["@semantic-release/release-notes-generator", { | ||
"preset": "conventional-commits", | ||
"presetConfig": { | ||
"types": [ | ||
{"type": "feat", "section": "Features"}, | ||
{"type": "fix", "section": "Bug Fixes"}, | ||
{"type": "docs", "section": "Documentation"}, | ||
{"type": "style", "section": "Styles"}, | ||
{"type": "refactor", "section": "Code Refactoring"}, | ||
{"type": "perf", "section": "Performance Improvements"}, | ||
{"type": "test", "section": "Tests"}, | ||
{"type": "ci", "section": "Continuous Integration"}, | ||
{"type": "chore", "section": "Chores"}, | ||
{"type": "breaking", "section": "Breaking Changes"} | ||
] | ||
} | ||
}], | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
["@semantic-release/git", { | ||
"assets": ["package.json", "CHANGELOG.md"], | ||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
}] | ||
] | ||
} |
This file contains 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
This file contains 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