We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc68fe commit 2fd79f0Copy full SHA for 2fd79f0
release/prod.js
@@ -17,7 +17,7 @@ configPromise.then((config) => {
17
newConfig.plugins.push([
18
'@semantic-release/exec',
19
{
20
- prepareCmd: `git diff-index --quiet HEAD -- ${process.cwd()}/* && exit 0 || (git add ${process.cwd()}/\\* && git commit -m "${commitMessage}" && git push origin master)`,
+ prepareCmd: `git diff-index --quiet HEAD -- ${process.cwd()}/* && exit 0 || (git add ${process.cwd()}/package.json && git add ${process.cwd()}/CHANGELOG.md && git commit -m "${commitMessage}" && git push origin master)`,
21
},
22
]);
23
0 commit comments