diff --git a/packages/pockethost/src/cli/commands/MothershipCommand/freshenPocketbaseVersions.ts b/packages/pockethost/src/cli/commands/MothershipCommand/freshenPocketbaseVersions.ts index 2ef64524..7cf0be97 100644 --- a/packages/pockethost/src/cli/commands/MothershipCommand/freshenPocketbaseVersions.ts +++ b/packages/pockethost/src/cli/commands/MothershipCommand/freshenPocketbaseVersions.ts @@ -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)}`