mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 06:06:45 +00:00
chore(pockethost): make sure mothership updates gobot versions from github
This commit is contained in:
parent
1ded35f72a
commit
5734bf2a3d
@ -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)}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user