diff --git a/CHANGELOG.md b/CHANGELOG.md index 890dde42..98f68a18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [3.1.0] - (Upcoming release) +- BETA version available at: [beta.frontmatter.codes](https://beta.frontmatter.codes) - [#73](https://github.com/estruyf/vscode-front-matter/issues/73): List view option for the dashboard - [#77](https://github.com/estruyf/vscode-front-matter/issues/77): Dashboard grouping pages functionality integrated - [#81](https://github.com/estruyf/vscode-front-matter/issues/81): Optimizing the content folders to use a new setting to simplify configuration diff --git a/scripts/beta-release.js b/scripts/beta-release.js index da626c44..c54eacb1 100644 --- a/scripts/beta-release.js +++ b/scripts/beta-release.js @@ -13,4 +13,10 @@ packageJson.homepage = "https://beta.frontmatter.codes"; console.log(packageJson.version); -fs.writeFileSync(path.join(path.resolve('.'), 'package.json'), JSON.stringify(packageJson, null, 2)); \ No newline at end of file +fs.writeFileSync(path.join(path.resolve('.'), 'package.json'), JSON.stringify(packageJson, null, 2)); + +const readme = fs.readFileSync(path.join(path.resolve('.'), 'README.md'), 'utf8'); +readme.replace(/frontmatter.codes/g, 'beta.frontmatter.codes'); +readme.replace(/frontmatter-teal-128x128.png/g, 'frontmatter-beta.png'); + +fs.writeFileSync(path.join(path.resolve('.'), 'README.md'), readme); \ No newline at end of file