chore: Fix release tags
This commit is contained in:
parent
80223f62a6
commit
bbf0b0cd08
1 changed files with 5 additions and 3 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'
|
||||||
}
|
}
|
||||||
|
@ -80,7 +82,7 @@ declare module '@sapphire/framework' {
|
||||||
port: number
|
port: number
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
release: 'DEV' | 'PRE-RELEASE' | 'RELEASE'
|
release: 'EXPERIMENTAL' | 'DEV' | 'PREVIEW' | 'RELEASE'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue