Skip to content

Commit

Permalink
Merge pull request #673 from geonetwork/fix-wc-version
Browse files Browse the repository at this point in the history
Fix [Datahub]: Do not point to future web component version
  • Loading branch information
tkohr authored Nov 7, 2023
2 parents 499c9ac + d61eae3 commit d42c29a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/datahub/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -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}`,
}

0 comments on commit d42c29a

Please sign in to comment.