diff --git a/apps/datahub/src/environments/environment.prod.ts b/apps/datahub/src/environments/environment.prod.ts index 8437293833..adea84dab3 100644 --- a/apps/datahub/src/environments/environment.prod.ts +++ b/apps/datahub/src/environments/environment.prod.ts @@ -1,5 +1,8 @@ import packageJson from '../../../../package.json' export const environment = { production: true, - version: `v${packageJson.version.split('-')[0]}`, + version: + packageJson.version.split('-')[1] === 'dev' + ? 'main' + : `v${packageJson.version}`, }