()
| 104 | ); |
| 105 | |
| 106 | async function fixNightlyReadme() { |
| 107 | const readmePath = `${buildDir}/README.md`; |
| 108 | const readmeText = await readFile(readmePath); |
| 109 | const readmeNightlyText = await readFile(`README.nightly.md`); |
| 110 | |
| 111 | await writeFile(readmePath, readmeNightlyText + '\n' + readmeText); |
| 112 | } |
| 113 | |
| 114 | const getVersionNumber = () => { |
| 115 | if (process.env.JS_DEBUG_VERSION) { |