From 5734bf2a3de18e508ce1c0c22536fec1e79c744d Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Tue, 23 Jul 2024 05:28:16 +0000 Subject: [PATCH] chore(pockethost): make sure mothership updates gobot versions from github --- .../cli/commands/MothershipCommand/freshenPocketbaseVersions.ts | 1 + 1 file changed, 1 insertion(+) 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)}`