We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55b536 commit 3d28a93Copy full SHA for 3d28a93
scripts/bump-version.ts
@@ -50,9 +50,8 @@ for (const file of packageFiles) {
50
const content = fs.readFileSync(file, 'utf8');
51
const pkg = JSON.parse(content) as { version?: string };
52
if (pkg.version) {
53
- const oldVersion = pkg.version;
54
- const newVersion = incrementVersion(pkg.version);
55
// do a string replace from oldVersion to newVersion
+ const oldVersion = pkg.version;
56
const newContent = content.replace(`"version": "${oldVersion}"`, `"version": "${newVersion}"`);
57
fs.writeFileSync(file, newContent);
58
console.log(`Updated ${file}: ${oldVersion} -> ${newVersion}`);
0 commit comments