@busy-web/cli
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "@busy-web/cli", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Command line tools to enhance web dev tasks", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -44,10 +44,10 @@ /** | ||
if (/v[0-9]+\.[0-9]+\.[0-9]+$/.test(tag)) { | ||
this.ui.info('Preparing production deploy...'); | ||
return getRevision.call(this).then(revision => { | ||
return this.cmd(`ember deploy production`).then(() => { | ||
return this.cmd(`ember deploy:activate --revision ${revision} production`).then(() => { | ||
return this.resolve('Deploy finished!'); | ||
}); | ||
}); | ||
}); | ||
this.ui.info('Preparing production deploy...', tag); | ||
//return getRevision.call(this).then(revision => { | ||
// return this.cmd(`ember deploy production`).then(() => { | ||
// return this.cmd(`ember deploy:activate --revision ${revision} production`).then(() => { | ||
// return this.resolve('Deploy finished!'); | ||
// }); | ||
// }); | ||
//}); | ||
} else { | ||
@@ -54,0 +54,0 @@ this.resolve('Not a production tag. Skipping deploy'); |
54261