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 a14877f commit d2a6bd4Copy full SHA for d2a6bd4
release/prod.js
@@ -16,7 +16,7 @@ configPromise.then((config) => {
16
newConfig.plugins.push([
17
'@semantic-release/exec',
18
{
19
- prepareCmd: `git add --all && git commit -m "${commitMessage}" && git push origin master`,
+ prepareCmd: `git diff-index --quiet HEAD -- ${process.cwd()}/* || git add ${process.cwd()}/* && git commit -m "${commitMessage}" && git push origin master`,
20
},
21
]);
22
0 commit comments