Skip to content

Commit 3881f33

Browse files
committed
Prevent coverage directory from ending up in release tag.
1 parent b55daa0 commit 3881f33

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/commons.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ const extraneousFiles = [
77
"imgs",
88
"test",
99
"vendor",
10+
'node_modules',
11+
"coverage",
1012
".travis.yml",
1113
"Changelog.md",
1214
"composer.lock",

scripts/release.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ async function release(releaseLevel) {
4646
// add changes to git stage
4747
await execute("git", ["add", "."], "");
4848

49-
// remove node_modules from git stage
50-
await execute("git", ["reset", "node_modules"], "");
51-
5249
// commit whatever on git stage
5350
await execute("git", [
5451
"commit",

0 commit comments

Comments
 (0)