chore: Fix release tag name

This commit is contained in:
Siwoo Jeon 2024-09-22 17:26:26 +09:00
parent fbeb259047
commit abf62a00af
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -20,10 +20,12 @@ const release = version
.slice((semver.coerce(version)?.toString() + '-').length) .slice((semver.coerce(version)?.toString() + '-').length)
.split('.')[1] .split('.')[1]
if (release.startsWith('d')) { if (release.startsWith('e')) {
container.release = 'EXPERIMENTAL'
} else if (release.startsWith('d')) {
container.release = 'DEV' container.release = 'DEV'
} else if (release.startsWith('p')) { } else if (release.startsWith('p')) {
container.release = 'PRE-RELEASE' container.release = 'PREVIEW'
} else { } else {
container.release = 'RELEASE' container.release = 'RELEASE'
} }
@ -72,15 +74,8 @@ declare module '@sapphire/framework' {
train: { train: {
user_ID: Snowflake user_ID: Snowflake
} }
mysql: {
user: string
host: string
password: string
database: string
port: number
}
} }
release: 'DEV' | 'PRE-RELEASE' | 'RELEASE' release: 'EXPERIMENTAL' | 'DEV' | 'PREVIEW' | 'RELEASE'
} }
} }