mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
Do not fail if -javadoc.jar are missing in the final NPM package (#33869)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/33869 When I disabled the Javadoc pubblication as it was failing on CI, I forgot to turn off the verification that the -javadoc artifact is included inside the NPM package. This caused `build_npm_package-1` to fail on main. I'm fixing it here. Changelog: [Internal] [Fixed] - Do not fail if -javadoc.jar are missing in the final NPM package Reviewed By: cipolleschi Differential Revision: D36507320 fbshipit-source-id: 3836de5212de91bb44e0e586564b46114ca346b4
This commit is contained in:
parent
e584fd16a1
commit
c19bc0b6a2
@ -170,7 +170,7 @@ if (isCommitly) {
|
||||
}
|
||||
}
|
||||
|
||||
// -------- Generating Android Artifacts with JavaDoc
|
||||
// -------- Generating Android Artifacts
|
||||
if (exec('./gradlew :ReactAndroid:installArchives').code) {
|
||||
echo('Could not generate artifacts');
|
||||
exit(1);
|
||||
@ -195,8 +195,6 @@ let artifacts = [
|
||||
'-release.aar',
|
||||
'-debug-sources.jar',
|
||||
'-release-sources.jar',
|
||||
'-debug-javadoc.jar',
|
||||
'-release-javadoc.jar',
|
||||
].map(suffix => {
|
||||
return `react-native-${releaseVersion}${suffix}`;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user