@argos-ci/cli 0.2.4 → 0.3.0
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.
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -183,9 +183,8 @@ function getBranch({ env }) {
|
|
|
183
183
|
return null;
|
|
184
184
|
}
|
|
185
185
|
function getRepository({ env }) {
|
|
186
|
-
if (!env.
|
|
187
|
-
|
|
188
|
-
return repositoryParts.join("/");
|
|
186
|
+
if (!env.GITHUB_REPOSITORY) return null;
|
|
187
|
+
return env.GITHUB_REPOSITORY.split("/")[1];
|
|
189
188
|
}
|
|
190
189
|
const service = {
|
|
191
190
|
detect: ({ env })=>Boolean(env.GITHUB_ACTIONS),
|
|
@@ -498,6 +497,7 @@ program.command("upload").argument("<directory>", "Directory to upload").descrip
|
|
|
498
497
|
spinner.succeed(`Build created: ${result.build.url}`);
|
|
499
498
|
} catch (error) {
|
|
500
499
|
spinner.fail(`Build failed: ${error.message}`);
|
|
500
|
+
console.error(error.stack);
|
|
501
501
|
process.exit(1);
|
|
502
502
|
}
|
|
503
503
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/cli",
|
|
3
3
|
"description": "Visual testing solution to avoid visual regression. Argos CLI is used to interact with and upload screenshots to argos-ci.com via command line.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"argos": "./bin/argos-cli.js"
|
|
7
7
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@argos-ci/core": "^0.
|
|
43
|
+
"@argos-ci/core": "^0.6.0",
|
|
44
44
|
"commander": "^9.4.1",
|
|
45
45
|
"ora": "^6.1.2",
|
|
46
46
|
"update-notifier": "^6.0.2"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"rollup": "^2.79.1",
|
|
50
50
|
"rollup-plugin-swc3": "^0.6.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "b4651fc030328c04b15a62fa206a20dff1bbe0ec"
|
|
53
53
|
}
|