Skip to content

Commit c050673

Browse files
committed
chore(release): ignore gitignored files on git add
1 parent 4bdfeb7 commit c050673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ configPromise.then((config) => {
1717
newConfig.plugins.push([
1818
'@semantic-release/exec',
1919
{
20-
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)`,
20+
prepareCmd: `git diff-index --quiet HEAD -- ${process.cwd()}/* && exit 0 || (git add ${process.cwd()}/\* && git commit -m "${commitMessage}" && git push origin master)`,
2121
},
2222
]);
2323

0 commit comments

Comments
 (0)