update npmrx path
This commit is contained in:
parent
bc3679d614
commit
baea86e087
@ -16,8 +16,8 @@ export let install = (versionArg) => {
|
||||
" nvm alias default " + version
|
||||
);
|
||||
plugins.beautylog.success("Node version " + version + " successfully installed!");
|
||||
plugins.shelljs.exec("node -v");
|
||||
plugins.shelljs.exec("npm -v");
|
||||
bash("node -v");
|
||||
bash("npm -v");
|
||||
done.resolve();
|
||||
return done.promise;
|
||||
}
|
@ -10,7 +10,7 @@ let npmrcFileString = npmrcPrefix + npmToken;
|
||||
export let publish = () => {
|
||||
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:"/usr/local/"});
|
||||
bash("npm publish");
|
||||
plugins.beautylog.ok("Done!")
|
||||
return done.promise;
|
||||
|
Loading…
Reference in New Issue
Block a user