Fixed style css commit in deploy action
This commit is contained in:
parent
513c6ed424
commit
c9550de50b
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ async function versionBumpTheme(theme, addChanges){
|
|||
console.log(`${theme} needs a version bump`);
|
||||
|
||||
await executeCommand(`perl -pi -e 's/Version: ((\\d+\\.)*)(\\d+)(.*)$/"Version: ".$1.($3+1).$4/ge' ${theme}/style.css`, true);
|
||||
await executeCommand(`git add ${file}`);
|
||||
await executeCommand(`git add ${theme}/style.css`);
|
||||
|
||||
let styleCss = fs.readFileSync(`${theme}/style.css`, 'utf8');
|
||||
let currentVersion = getThemeMetadata(styleCss, 'Version');
|
||||
|
|
Loading…
Reference in a new issue