Skip to content

Commit 068925d

Browse files
author
Nedyalko Nikolov
authored
Modify script to delete private tag.
1 parent 00d446d commit 068925d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/travis-scripts/add-publishConfig.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ if (!packageDef.publishConfig) {
2121
}
2222
packageDef.publishConfig.tag = tag;
2323

24+
if (packageDef.private) {
25+
delete packageDef.private;
26+
}
27+
2428
var newContent = JSON.stringify(packageDef, null, ' ');
2529
fsModule.writeFileSync(path, newContent, fileOptions);

0 commit comments

Comments
 (0)