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 888b61f commit 4bdfeb7Copy full SHA for 4bdfeb7
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 config advice.addIgnoredFile false && git add ${process.cwd()}/* && git commit -m "${commitMessage}" && git push origin master)`,
21
},
22
]);
23
0 commit comments