update version bump script to consider level 3 (#6254)
This commit is contained in:
parent
efa03bbf01
commit
f9eb831925
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ async function versionBumpTheme(theme, addChanges) {
|
|||
let styleCss = fs.readFileSync(`${theme}/style.css`, 'utf8');
|
||||
let currentVersion = getThemeMetadata(styleCss, 'Version');
|
||||
|
||||
let filesToUpdate = await executeCommand(`find ${theme} -name package.json -o -name style.scss -o -name style-child-theme.scss -maxdepth 2`);
|
||||
let filesToUpdate = await executeCommand(`find ${theme} -name package.json -o -name style.scss -o -name style-child-theme.scss -maxdepth 3`);
|
||||
filesToUpdate = filesToUpdate.split('\n').filter(item => item != '');
|
||||
|
||||
for (let file of filesToUpdate) {
|
||||
|
|
Loading…
Reference in a new issue