Skip to content

Commit 3a560f0

Browse files
committed
fix version string bump
1 parent 0ff25d4 commit 3a560f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/version-bump.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const manifestPath = path.resolve(__dirname, '../public/manifest.json');
1616
// Read the manifest file
1717
const manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf-8'));
1818

19-
// Update the version in the manifest file
20-
manifest.version = versionArg;
19+
// strip the v from the version and update the version in the manifest file
20+
manifest.version = versionArg.replace(/^v/, '');
2121

2222
// Write the updated manifest file
2323
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2), 'utf-8');

0 commit comments

Comments
 (0)