Skip to content

Commit

Permalink
Update bump-web-version.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Gellipapa authored Oct 13, 2024
1 parent c68bb25 commit 919651d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/bump-web-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ const newVersion = version.replace("v", "");

const results = replace.sync({
files: "fxmanifest.lua",
from: /\bversion\s+(.*)$/gm,
to: `version '${newVersion}'`,
from: [
/\bversion\((['"])(.*?)\1\)/gm,
/\bversion\s+(.*)$/gm
],
to: `version('${newVersion}')`,
});

console.log(results)
console.log(results);

0 comments on commit 919651d

Please sign in to comment.