Skip to content

Commit 9916402

Browse files
authored
Merge branch 'trunk' into fix/js-lint
2 parents e1fb610 + 81e3297 commit 9916402

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/__tests__/release.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function old_function() {}`;
239239
} );
240240
} );
241241

242-
describe( 'Block.json file patterns (src/**/block.json)', () => {
242+
describe( 'Block.json file patterns (src/**/block.json and build/**/block.json)', () => {
243243
const patterns = [
244244
{
245245
search: /"version": "\d+\.\d+\.\d+"/,

bin/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ async function createRelease() {
277277
] );
278278
} );
279279

280-
// Update version in block.json files
281-
const blockJsonFiles = execWithOutput( 'find src -name "block.json"' ).split( '\n' );
280+
// Update version in block.json files (src and build directories)
281+
const blockJsonFiles = execWithOutput( 'find src build -name "block.json"' ).split( '\n' );
282282

283283
blockJsonFiles.forEach( ( filePath ) => {
284284
if ( filePath ) {

0 commit comments

Comments
 (0)