@percy/cli-build 1.30.5-beta.1 → 1.31.0-alpha.2

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/dist/finalize.js +7 -3
  2. package/package.json +4 -4
package/dist/finalize.js CHANGED
@@ -27,9 +27,13 @@ export const finalize = command('finalize', {
27
27
  } = await percy.client.createBuild({
28
28
  cliStartTime: percy.cliStartTime
29
29
  });
30
- await percy.client.finalizeBuild(build.id, {
31
- all: true
32
- });
30
+ try {
31
+ await percy.client.finalizeBuild(build.id, {
32
+ all: true
33
+ });
34
+ } catch (error) {
35
+ exit(1, 'Percy build failed during finalize', error.message);
36
+ }
33
37
  let {
34
38
  'build-number': number,
35
39
  'web-url': url
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-build",
3
- "version": "1.30.5-beta.1",
3
+ "version": "1.31.0-alpha.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "beta"
12
+ "tag": "alpha"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -33,7 +33,7 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@percy/cli-command": "1.30.5-beta.1"
36
+ "@percy/cli-command": "1.31.0-alpha.2"
37
37
  },
38
- "gitHead": "4951bc46ffffcd2fd5947f6aa88fd7eb68a34ef3"
38
+ "gitHead": "1c7711f564fd4a112e1e1490a772db757df0535d"
39
39
  }