Skip to content
Open
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
4 changes: 2 additions & 2 deletions packages/react-native/scripts/cocoapods/rncore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +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 => URI::File.build(path: destinationDebug).to_s }
return {:http => stable_tarball_url(@@react_native_version, :debug) }
end

def self.podspec_source_download_prebuilt_nightly_tarball()
Expand Down Expand Up @@ -196,7 +196,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 => URI::File.build(path: destinationDebug).to_s }
return {:http => nightly_tarball_url(@@react_native_version, :debug) }
end

def self.process_dsyms(frameworkTarball, dSymsTarball)
Expand Down
7 changes: 3 additions & 4 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,10 +225,9 @@ 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}
end

Expand Down
Loading