@mui/internal-code-infra 0.0.4-canary.114 → 0.0.4-canary.115
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/package.json +2 -2
- package/src/cli/cmdArgosPush.mjs +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-code-infra",
|
|
3
|
-
"version": "0.0.4-canary.
|
|
3
|
+
"version": "0.0.4-canary.115",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Infra scripts and configs to be used across MUI repos.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"publishConfig": {
|
|
188
188
|
"access": "public"
|
|
189
189
|
},
|
|
190
|
-
"gitSha": "
|
|
190
|
+
"gitSha": "d5e2b0ac7234a31dad35bea63c9de46c0e3d0409",
|
|
191
191
|
"scripts": {
|
|
192
192
|
"build": "tsc -p tsconfig.build.json",
|
|
193
193
|
"typescript": "tsc -noEmit",
|
package/src/cli/cmdArgosPush.mjs
CHANGED
|
@@ -46,8 +46,6 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
46
46
|
const { folder, verbose = false } = argv;
|
|
47
47
|
|
|
48
48
|
const argosToken = requireEnv('ARGOS_TOKEN');
|
|
49
|
-
const circleSha1 = requireEnv('CIRCLE_SHA1');
|
|
50
|
-
const circleBranch = requireEnv('CIRCLE_BRANCH');
|
|
51
49
|
const circleBuildNum = requireEnv('CIRCLE_BUILD_NUM');
|
|
52
50
|
|
|
53
51
|
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), 'argos-screenshots-'));
|
|
@@ -92,8 +90,8 @@ export default /** @type {import('yargs').CommandModule<{}, Args>} */ ({
|
|
|
92
90
|
// eslint-disable-next-line no-await-in-loop
|
|
93
91
|
const result = await upload({
|
|
94
92
|
root: `${tempDir}/${i}`,
|
|
95
|
-
commit
|
|
96
|
-
|
|
93
|
+
// The SDK resolves `commit` and `branch`: it reads `ARGOS_COMMIT` and `ARGOS_BRANCH`
|
|
94
|
+
// first and falls back to `CIRCLE_SHA1` and `CIRCLE_BRANCH`.
|
|
97
95
|
token: argosToken,
|
|
98
96
|
threshold,
|
|
99
97
|
parallel: {
|