diff --git a/.releaserc b/.releaserc index 2e1d44a..b7d1e50 100644 --- a/.releaserc +++ b/.releaserc @@ -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" ] } diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index c32b498..3dfe033 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "index.js", "lib", "build/index.js", - "build/lib" + "build/lib", + "CHANGELOG.md" ], "dependencies": { "@appium/support": "^2.55.3", @@ -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",