|
10 | 10 | 'use strict';
|
11 | 11 |
|
12 | 12 | const {exec, echo, exit, test, env, pushd, popd} = require('shelljs');
|
13 |
| -const {saveFiles} = require('./scm-utils'); |
14 | 13 | const {createHermesPrebuiltArtifactsTarball} = require('./hermes/hermes-utils');
|
15 | 14 |
|
16 |
| -// TODO: we should probably remove this because of this? https://github.com/facebook/react-native/pull/34846 |
17 |
| -function saveFilesToRestore(tmpPublishingFolder) { |
18 |
| - const filesToSaveAndRestore = [ |
19 |
| - 'template/Gemfile', |
20 |
| - 'template/_ruby-version', |
21 |
| - 'template/package.json', |
22 |
| - '.ruby-version', |
23 |
| - 'Gemfile.lock', |
24 |
| - 'Gemfile', |
25 |
| - 'package.json', |
26 |
| - 'ReactAndroid/gradle.properties', |
27 |
| - 'Libraries/Core/ReactNativeVersion.js', |
28 |
| - 'React/Base/RCTVersion.m', |
29 |
| - 'ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java', |
30 |
| - 'ReactCommon/cxxreact/ReactNativeVersion.h', |
31 |
| - ]; |
32 |
| - |
33 |
| - saveFiles(filesToSaveAndRestore, tmpPublishingFolder); |
34 |
| -} |
35 |
| - |
36 | 15 | function generateAndroidArtifacts(releaseVersion, tmpPublishingFolder) {
|
37 | 16 | // -------- Generating Android Artifacts
|
38 | 17 | echo('Generating Android artifacts inside /tmp/maven-local');
|
@@ -136,5 +115,4 @@ module.exports = {
|
136 | 115 | generateAndroidArtifacts,
|
137 | 116 | generateiOSArtifacts,
|
138 | 117 | publishAndroidArtifactsToMaven,
|
139 |
| - saveFilesToRestore, |
140 | 118 | };
|
0 commit comments