chore: génère correctement la release Sentry même si slash dans branche
parent
269ca6fbcc
commit
34aa602666
|
@ -20,7 +20,8 @@ const branch = (mode: string) => getBranch(mode)
|
|||
|
||||
const sentryReleaseName = (mode: string) =>
|
||||
env(mode).VITE_GITHUB_SHA
|
||||
? `${branch(mode)}-` + env(mode).VITE_GITHUB_SHA?.substring(0, 7)
|
||||
? `${branch(mode).split('/').at(-1)}-` +
|
||||
env(mode).VITE_GITHUB_SHA?.substring(0, 7)
|
||||
: undefined
|
||||
|
||||
export default defineConfig(({ command, mode }) => ({
|
||||
|
|
Loading…
Reference in New Issue