File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,10 @@ def self.podspec_source_download_prebuild_release_tarball()
134
134
end
135
135
136
136
def self . release_tarball_url ( version , build_type )
137
- maven_repo_url = "https://repo1.maven.org/maven2"
137
+ maven_repo_url =
138
+ ENV [ 'ENTERPRISE_REPOSITORY' ] != nil && ENV [ 'ENTERPRISE_REPOSITORY' ] != "" ?
139
+ ENV [ 'ENTERPRISE_REPOSITORY' ] :
140
+ "https://repo1.maven.org/maven2"
138
141
group = "com/facebook/react"
139
142
# Sample url from Maven:
140
143
# https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.79.0-rc.0/react-native-artifacts-0.79.0-rc.0-reactnative-dependencies-debug.tar.gz
Original file line number Diff line number Diff line change @@ -204,7 +204,10 @@ def hermestag_file(react_native_path)
204
204
end
205
205
206
206
def release_tarball_url ( version , build_type )
207
- maven_repo_url = "https://repo1.maven.org/maven2"
207
+ maven_repo_url =
208
+ ENV [ 'ENTERPRISE_REPOSITORY' ] != nil && ENV [ 'ENTERPRISE_REPOSITORY' ] != "" ?
209
+ ENV [ 'ENTERPRISE_REPOSITORY' ] :
210
+ "https://repo1.maven.org/maven2"
208
211
namespace = "com/facebook/react"
209
212
# Sample url from Maven:
210
213
# https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.71.0/react-native-artifacts-0.71.0-hermes-ios-debug.tar.gz
You can’t perform that action at this time.
0 commit comments