({ tag }: VersionSchema)
| 31 | }; |
| 32 | |
| 33 | async function copyNewDocsToGeneratedSite({ tag }: VersionSchema) { |
| 34 | const outputDirectory = `./temp/${tag}`; |
| 35 | const pathToBuiltDocs = './build'; |
| 36 | const command = `cp -R ${pathToBuiltDocs} ${outputDirectory}`; |
| 37 | return await exec(command); |
| 38 | } |
| 39 | |
| 40 | async function updateSiteTemplateForNewVersion( |
| 41 | newVersion: VersionSchema, |