Skip to content

Commit

Permalink
fix: add missing semantic release config
Browse files Browse the repository at this point in the history
  • Loading branch information
gearsdigital committed Nov 30, 2021
1 parent fad1204 commit a7b5c78
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 4 deletions.
48 changes: 48 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"tagFormat": "v${version}",
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "improvement",
"release": "patch"
}
]
},
"@semantic-release/release-notes-generator",
"@ambimax/semantic-release-composer",
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@ambimax/semantic-release-composer",
{
"skipOnMissingComposerJson": true
}
],
[
"@semantic-release/git",
{
"assets": ['CHANGELOG.md', 'package.json', 'package-lock.json', 'composer.json', 'composer.lock'],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7b5c78

Please sign in to comment.