chore: Fix release tag name
This commit is contained in:
parent
fbeb259047
commit
abf62a00af
1 changed files with 5 additions and 10 deletions
|
@ -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: 'EXPERIMENTAL' | 'DEV' | 'PREVIEW' | 'RELEASE'
|
||||||
release: 'DEV' | 'PRE-RELEASE' | 'RELEASE'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue