chore: Fix release tags

This commit is contained in:
Siwoo Jeon 2024-09-24 23:30:10 +09:00
parent 80223f62a6
commit bbf0b0cd08
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -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'
}
}