Skip to content

Commit

Permalink
fix(simulator-ui): include APP_VERSION in prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Nov 18, 2024
1 parent 3062970 commit 292dfda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simulator-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
<phase>compile</phase>
<configuration>
<arguments>run build</arguments>
<environmentVariables>
<APP_VERSION>${project.version}</APP_VERSION>
</environmentVariables>
</configuration>
</execution>
</executions>
Expand Down
5 changes: 5 additions & 0 deletions simulator-ui/src/main/webapp/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
engine-strict=true
registry=https://repo.pnet.ch/artifactory/api/npm/eta-npm/

; needed for node-gyp (transitive dependency of @semantic-release/npm) - see: https://stackoverflow.com/a/76377726/10843655
disturl=https://repo.pnet.ch/artifactory/nodejs-generic-remote/

0 comments on commit 292dfda

Please sign in to comment.