File tree Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -225,16 +225,7 @@ jobs:
225225 name : compiled-rn
226226 path : compiled-rn/
227227 - 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
236228 - name : Commit changes to branch
237- if : steps.check_should_commit.outputs.should_commit == 'true'
238229 uses : stefanzweifel/git-auto-commit-action@v4
239230 with :
240231 commit_message : |
Original file line number Diff line number Diff line change @@ -173,27 +173,7 @@ function processStable(buildDir) {
173173 ) ;
174174 }
175175
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
197177 updatePlaceholderReactVersionInCompiledArtifacts (
198178 buildDir ,
199179 ReactVersion + '-' + canaryChannelLabel + '-' + sha + '-' + dateString
You can’t perform that action at this time.
0 commit comments