@blossm/deploy-cli-template 0.0.681 → 0.0.682

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +10 -9
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -85,16 +85,17 @@ export default ({ domain, dir }) => async (args, configFn) => {
85
85
  roboSay(`Deploying ${e} by assembling template into ${workingDir}...`)
86
86
  );
87
87
 
88
- await mergeCliTemplate({
89
- scriptDir: dir,
90
- workingDir,
91
- env: e,
92
- path: input.path,
93
- dry: input.dryRun,
94
- configFn,
95
- });
96
-
97
88
  try {
89
+ // Assembly failures also remove the working directory.
90
+ await mergeCliTemplate({
91
+ scriptDir: dir,
92
+ workingDir,
93
+ env: e,
94
+ path: input.path,
95
+ dry: input.dryRun,
96
+ configFn,
97
+ });
98
+
98
99
  if (input.unitTest) {
99
100
  //eslint-disable-next-line no-console
100
101
  console.log(roboSay("Running your tests..."));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blossm/deploy-cli-template",
3
- "version": "0.0.681",
3
+ "version": "0.0.682",
4
4
  "description": "Deploys a template to cloud build.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,8 +15,8 @@
15
15
  "test": "echo \"Error: no test specified\" && exit 0"
16
16
  },
17
17
  "dependencies": {
18
- "@blossm/cli-root-dir": "^0.0.16",
19
- "@blossm/merge-cli-template": "^0.0.645",
18
+ "@blossm/cli-root-dir": "^0.0.17",
19
+ "@blossm/merge-cli-template": "^0.0.646",
20
20
  "@blossm/normalize-cli": "^0.0.23",
21
21
  "@blossm/robo-say": "^0.0.12",
22
22
  "@blossm/test-cli-template": "^0.0.24",
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "mocha": "^12.0.3"
29
29
  },
30
- "gitHead": "18a2e086ec8fe64a8cf7b0d83262eb968f321d93"
30
+ "gitHead": "bdb8a728dbf7735097817eaad9f20c3207ae1f8d"
31
31
  }