chore(pockethost): make sure mothership updates gobot versions from github

This commit is contained in:
Ben Allfree 2024-07-23 05:28:16 +00:00
parent 1ded35f72a
commit 5734bf2a3d

View File

@ -51,6 +51,7 @@ function expandAndSortSemVers(semvers: string[]): string[] {
export async function freshenPocketbaseVersions() {
const bot = await gobot(`pocketbase`)
await bot.update()
const rawVersions = await bot.versions()
const versions = expandAndSortSemVers(rawVersions)
const cjs = `module.exports = ${stringify(versions, null, 2)}`