Created
August 28, 2023 10:42
-
-
Save matzar/f25898c5bfbed2598cf36b99f62c7d79 to your computer and use it in GitHub Desktop.
.releaserc is a configuration file for semantic-release, dictating automated versioning based on commit conventions, targeting the main branch, and utilizing the "angular" preset with custom release rules for different commit types while integrating with GitHub.
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
{ | |
"branches": [ | |
"main" | |
], | |
"debug": true, | |
"ci": true, | |
"dryRun": false, | |
"plugins": [ | |
[ | |
"@semantic-release/commit-analyzer", | |
{ | |
"preset": "angular", | |
"releaseRules": [ | |
{ | |
"type": "build", | |
"release": "patch" | |
}, | |
{ | |
"type": "chore", | |
"release": "patch" | |
}, | |
{ | |
"type": "ci", | |
"release": "patch" | |
}, | |
{ | |
"type": "deps", | |
"release": "patch" | |
}, | |
{ | |
"type": "docs", | |
"release": "patch" | |
}, | |
{ | |
"type": "fix", | |
"release": "patch" | |
}, | |
{ | |
"type": "perf", | |
"release": "patch" | |
}, | |
{ | |
"type": "refactor", | |
"release": "patch" | |
}, | |
{ | |
"type": "revert", | |
"release": "patch" | |
}, | |
{ | |
"type": "style", | |
"release": "patch" | |
}, | |
{ | |
"type": "test", | |
"release": "patch" | |
}, | |
{ | |
"type": "feat", | |
"release": "minor" | |
}, | |
{ | |
"type": "breaking", | |
"release": "major" | |
} | |
], | |
"parserOpts": { | |
"noteKeywords": [ | |
"BREAKING CHANGE", | |
"BREAKING CHANGES" | |
] | |
} | |
} | |
], | |
"@semantic-release/release-notes-generator", | |
"@semantic-release/github" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment