Skip to content

Commit

Permalink
chore: add changelog with @semantic-release/changelog (#771)
Browse files Browse the repository at this point in the history
* chore: add changelog with @semantic-release/changelog

* Update package.json
  • Loading branch information
KazuCocoa authored Nov 6, 2022
1 parent a7f4f22 commit 10ca15e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
"preset": "angular",
"releaseRules": [
{"type": "chore", "release": "patch"}

]
}],
"@semantic-release/npm",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["docs", "package.json"],
"assets": ["docs", "package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
"@semantic-release/github",
"@semantic-release/github"
]
}

Empty file added CHANGELOG.md
Empty file.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"lib",
"build/index.js",
"build/lib",
"bootstrap/bin/AppiumBootstrap.jar"
"bootstrap/bin/AppiumBootstrap.jar",
"CHANGELOG.md"
],
"dependencies": {
"@babel/runtime": "^7.0.0",
Expand Down Expand Up @@ -96,6 +97,7 @@
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/register": "^7.18.9",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@xmldom/xmldom": "^0.x",
"android-apidemos": "^4.1.0",
Expand Down

0 comments on commit 10ca15e

Please sign in to comment.