Skip to content

Commit

Permalink
fix: changed .releaserc to release.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed May 13, 2020
1 parent dfb3693 commit acf953f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 47 deletions.
47 changes: 0 additions & 47 deletions .releaserc

This file was deleted.

55 changes: 55 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
module.exports = {
"dryRun": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"package.json"
],
"from": "\"version\": \".*\"",
"to": "\"version\": \"${nextRelease.version}\"",
"results": [
{
"file": "package.json",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/changelog",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"dist/*",
"UPGRADE.md",
"LICENSE.md",
"README.md",
"CHANGELOG.md",
"action.yml"
]
}
]
]
}

0 comments on commit acf953f

Please sign in to comment.