added some log messages for publishing to npm
This commit is contained in:
parent
eef63f6b38
commit
2782a242be
@ -8,8 +8,9 @@ let npmrcFileString = npmrcPrefix + npmToken;
|
|||||||
|
|
||||||
export let publish = () => {
|
export let publish = () => {
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
|
plugins.beautylog.ok("Tests passed, now publishing to npm!");
|
||||||
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
|
plugins.smartfile.memory.toFs(npmrcFileString,{fileName:".npmrc",filePath:"/root/"});
|
||||||
plugins.shelljs.exec("npm publish");
|
plugins.shelljs.exec("npm publish");
|
||||||
|
plugins.beautylog.ok("Done!")
|
||||||
return done.promise;
|
return done.promise;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user