diff --git a/.github/workflows/bump_freetype.yml b/.github/workflows/bump_freetype.yml index c34fcb6..b3614b7 100644 --- a/.github/workflows/bump_freetype.yml +++ b/.github/workflows/bump_freetype.yml @@ -44,7 +44,7 @@ jobs: // write version to disk let existing = await fs.readFile('subprojects/freetype.wrap', 'utf-8'); - existing = existing.replace(/revision = .*?/, `revision = ${curTag.name}`); + existing = existing.replace(/revision = .+/, `revision = ${curTag.name}`); await fs.writeFile('subprojects/freetype.wrap', existing, 'utf-8'); // make version available to next steps