Skip to content

Commit

Permalink
fix: pkgRoot path
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Introduce a new way of releasing react-carousel
  • Loading branch information
roberthebel committed Jul 22, 2020
1 parent 88a6e0f commit 1ce7ffd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/npm", {
"pkgRoot": "./react-carousel"
}],
["@semantic-release/git", {
"assets": ["react-carousel/package.json", "docs/CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
"@semantic-release/github"
["@semantic-release/github", {
"assets": [
{
"path": "./react-carousel"
}
]
}]
]
}
Empty file added docs/CHANGELOG.md
Empty file.
1 change: 1 addition & 0 deletions react-carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"clean-dist": "rimraf ./lib && mkdir lib",
"prebuild": "npm run clean-dist",
"build": "node tools/build.js",
"postbuild": "cp ../LICENSE.md ../README.md ./lib",
"test": "jest",
"test:coverage": "yarn jest --coverage"
},
Expand Down

0 comments on commit 1ce7ffd

Please sign in to comment.