Skip to content

Commit

Permalink
config: add semantic-release settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DoubleU23 committed Sep 6, 2021
1 parent 4066f62 commit 6cc5469
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"branches": [
"master",
"main"
],
"repositoryUrl": "https://github.com/stackr23/react-stack",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"config": "@stackr23/conventional-changelog-config",
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "config",
"release": "patch"
},
{
"type": "script",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"config": "@stackr23/conventional-changelog-config"
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\n> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)\n\n"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "releases"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): 🤖🔖🚀 v${nextRelease.version} \n\n${nextRelease.notes} [skip ci]"
}
],
[
"@semantic-release/github"
]
]
}

0 comments on commit 6cc5469

Please sign in to comment.