Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/react-native/scripts/cocoapods/rncore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def self.podspec_source_download_prebuild_stable_tarball()
rncore_log(" #{Pathname.new(destinationDebug).relative_path_from(Pathname.pwd).to_s}")
rncore_log(" #{Pathname.new(destinationRelease).relative_path_from(Pathname.pwd).to_s}")

return {:http => stable_tarball_url(@@react_native_version, :debug) } unless @@download_dsyms
return {:http => URI::File.build(path: destinationDebug).to_s }
end

Expand Down Expand Up @@ -196,6 +197,7 @@ def self.podspec_source_download_prebuilt_nightly_tarball()
rncore_log("Resolved nightly ReactNativeCore-prebuilt version:")
rncore_log(" #{Pathname.new(destinationDebug).relative_path_from(Pathname.pwd).to_s}")
rncore_log(" #{Pathname.new(destinationRelease).relative_path_from(Pathname.pwd).to_s}")
return {:http => nightly_tarball_url(@@react_native_version, :debug) } unless @@download_dsyms
return {:http => URI::File.build(path: destinationDebug).to_s }
end

Expand Down
9 changes: 4 additions & 5 deletions packages/react-native/scripts/cocoapods/rndependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ def self.podspec_source_download_prebuild_release_tarball()

url = release_tarball_url(@@react_native_version, :debug)
rndeps_log("Using tarball from URL: #{url}")
destinationDebug = download_stable_rndeps(@@react_native_path, @@react_native_version, :debug)
download_stable_rndeps(@@react_native_path, @@react_native_version, :debug)
download_stable_rndeps(@@react_native_path, @@react_native_version, :release)

return {:http => URI::File.build(path: destinationDebug).to_s }
return {:http => url }
end

def self.release_tarball_url(version, build_type)
Expand Down Expand Up @@ -225,11 +225,10 @@ def self.podspec_source_download_prebuilt_nightly_tarball(version)

url = nightly_tarball_url(version, :debug)
rndeps_log("Using tarball from URL: #{url}")
destinationDebug = download_nightly_rndeps(@@react_native_path, @@react_native_version, :debug)
download_nightly_rndeps(@@react_native_path, @@react_native_version, :debug)
download_nightly_rndeps(@@react_native_path, @@react_native_version, :release)

return {:http => URI::File.build(path: destinationDebug).to_s }
return {:http => url}
return {:http => url }
end

def self.download_rndeps_tarball(react_native_path, tarball_url, version, configuration)
Expand Down
Loading