mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix Sonatype publishing (#49836)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49836 We were passing the path to the `RegularFile` instead of the `PublishingArtifacts` to the gradle script. cortinico why this is not checked at build time? This should be a typing issue that should be caught at build time, also during the test-all jobs, not just when the nightly run... ## Changelog: [Internal] Reviewed By: cortinico Differential Revision: D70617638 fbshipit-source-id: 67ff1aea2bd827fb110db7a0d2f3651b88a1e8cc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
908146caa5
commit
290257e76d
@@ -76,7 +76,7 @@ val reactNativeDependenciesDebugDSYMArtifact: PublishArtifact =
|
||||
artifacts.add("externalArtifacts", reactNativeDependenciesDebugDSYMArtifactFile) {
|
||||
type = "tgz"
|
||||
extension = "tar.gz"
|
||||
classifier = "reactnative-dependencies-debug-dSYM"
|
||||
classifier = "reactnative-dependencies-dSYM-debug"
|
||||
}
|
||||
|
||||
val reactNativeDependenciesReleaseDSYMArtifactFile: RegularFile =
|
||||
@@ -85,7 +85,7 @@ val reactNativeDependenciesReleaseDSYMArtifact: PublishArtifact =
|
||||
artifacts.add("externalArtifacts", reactNativeDependenciesReleaseDSYMArtifactFile) {
|
||||
type = "tgz"
|
||||
extension = "tar.gz"
|
||||
classifier = "reactnative-dependencies-release-dSYM"
|
||||
classifier = "reactnative-dependencies-dSYM-release"
|
||||
}
|
||||
|
||||
apply(from = "../publish.gradle")
|
||||
@@ -100,8 +100,8 @@ publishing {
|
||||
artifact(hermesDSYMReleaseArtifact)
|
||||
artifact(reactNativeDependenciesDebugArtifact)
|
||||
artifact(reactNativeDependenciesReleaseArtifact)
|
||||
artifact(reactNativeDependenciesDebugDSYMArtifactFile)
|
||||
artifact(reactNativeDependenciesReleaseDSYMArtifactFile)
|
||||
artifact(reactNativeDependenciesDebugDSYMArtifact)
|
||||
artifact(reactNativeDependenciesReleaseDSYMArtifact)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user