now using bash for everything
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "typings-global";
|
||||
import * as plugins from "./npmci.plugins";
|
||||
import {bash} from "./npmci.bash";
|
||||
|
||||
let npmrcPrefix:string = "//registry.npmjs.org/:_authToken=";
|
||||
let npmToken:string = process.env.NPMCITOKEN;
|
||||
@@ -10,7 +11,7 @@ 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.shelljs.exec("npm publish");
|
||||
bash("npm publish");
|
||||
plugins.beautylog.ok("Done!")
|
||||
return done.promise;
|
||||
};
|
||||
Reference in New Issue
Block a user