From bbf0b0cd08b34ad4917a65a57355ce29cbcc85c7 Mon Sep 17 00:00:00 2001 From: Siwoo Jeon Date: Tue, 24 Sep 2024 23:30:10 +0900 Subject: [PATCH] chore: Fix release tags --- src/Client.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Client.ts b/src/Client.ts index 4287b0b..9feffe1 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -20,10 +20,12 @@ const release = version .slice((semver.coerce(version)?.toString() + '-').length) .split('.')[1] -if (release.startsWith('d')) { +if (release.startsWith('e')) { + container.release = 'EXPERIMENTAL' +} else if (release.startsWith('d')) { container.release = 'DEV' } else if (release.startsWith('p')) { - container.release = 'PRE-RELEASE' + container.release = 'PREVIEW' } else { container.release = 'RELEASE' } @@ -80,7 +82,7 @@ declare module '@sapphire/framework' { port: number } } - release: 'DEV' | 'PRE-RELEASE' | 'RELEASE' + release: 'EXPERIMENTAL' | 'DEV' | 'PREVIEW' | 'RELEASE' } }