Skip to content

Commit

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

* remove a line

* Update package.json
  • Loading branch information
KazuCocoa authored Nov 6, 2022
1 parent 344b5fe commit 7ea8ce7
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 @@ -27,7 +27,8 @@
"index.js",
"lib",
"build/index.js",
"build/lib"
"build/lib",
"CHANGELOG.md"
],
"dependencies": {
"@appium/support": "^2.55.3",
Expand Down Expand Up @@ -73,6 +74,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",
"babel-plugin-source-map-support": "^2.2.0",
"chai": "^4.1.2",
Expand Down

0 comments on commit 7ea8ce7

Please sign in to comment.