Skip to content

Commit 6e47c95

Browse files
vzaidmanfacebook-github-bot
authored andcommitted
fix release script testing artifact for rntester (#53552)
Summary: Pull Request resolved: #53552 Changelog: [Internal] Reviewed By: fabriziocucci, cortinico, hoxyq Differential Revision: D81452967 fbshipit-source-id: 3032b49b6c7fd49901b8f47886084c98479b368f
1 parent 9731e8e commit 6e47c95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/release-testing/utils/github-actions-utils.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async function artifactURLForRNTesterAPK(
210210
}
211211

212212
async function artifactURLForHermesRNTesterApp() /*: Promise<string> */ {
213-
return getArtifactURL('RNTesterApp-NewArch-Hermes-Debug');
213+
return getArtifactURL('RNTesterApp-NewArch-Debug');
214214
}
215215

216216
async function artifactURLForMavenLocal() /*: Promise<string> */ {
@@ -223,7 +223,9 @@ async function getArtifactURL(
223223
const filteredUrls = artifacts.artifacts.filter(a => a.name === artifactName);
224224

225225
if (filteredUrls.length === 0) {
226-
console.error(`No artifact found with name ${artifactName}`);
226+
console.error(
227+
`No artifact found with name ${artifactName}.\n\nAvailable artifacts: ${artifacts.artifacts.map(a => a.name).join(' ')}`,
228+
);
227229
process.exit(1);
228230
}
229231
return filteredUrls[0].archive_download_url;

0 commit comments

Comments
 (0)