Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e92827de57 | |||
| 2782a242be |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user