File tree 2 files changed +1
-30
lines changed 2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -225,16 +225,7 @@ jobs:
225
225
name : compiled-rn
226
226
path : compiled-rn/
227
227
- run : git status -u
228
- - name : Check if only the REVISION file has changed
229
- id : check_should_commit
230
- run : |
231
- if git status --porcelain | grep -qv '/REVISION$'; then
232
- echo "should_commit=true" >> "$GITHUB_OUTPUT"
233
- else
234
- echo "should_commit=false" >> "$GITHUB_OUTPUT"
235
- fi
236
228
- name : Commit changes to branch
237
- if : steps.check_should_commit.outputs.should_commit == 'true'
238
229
uses : stefanzweifel/git-auto-commit-action@v4
239
230
with :
240
231
commit_message : |
Original file line number Diff line number Diff line change @@ -173,27 +173,7 @@ function processStable(buildDir) {
173
173
) ;
174
174
}
175
175
176
- const reactNativeBuildDir = buildDir + '/react-native/implementations/' ;
177
- if ( fs . existsSync ( reactNativeBuildDir ) ) {
178
- const hash = crypto . createHash ( 'sha1' ) ;
179
- for ( const fileName of fs . readdirSync ( reactNativeBuildDir ) . sort ( ) ) {
180
- const filePath = reactNativeBuildDir + fileName ;
181
- const stats = fs . statSync ( filePath ) ;
182
- if ( ! stats . isDirectory ( ) ) {
183
- hash . update ( fs . readFileSync ( filePath ) ) ;
184
- }
185
- }
186
- updatePlaceholderReactVersionInCompiledArtifacts (
187
- reactNativeBuildDir ,
188
- ReactVersion +
189
- '-' +
190
- canaryChannelLabel +
191
- '-' +
192
- hash . digest ( 'hex' ) . slice ( 0 , 8 )
193
- ) ;
194
- }
195
-
196
- // Update remaining placeholders with canary channel version
176
+ // Update remaining placeholders with next channel version
197
177
updatePlaceholderReactVersionInCompiledArtifacts (
198
178
buildDir ,
199
179
ReactVersion + '-' + canaryChannelLabel + '-' + sha + '-' + dateString
You can’t perform that action at this time.
0 commit comments