File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ ARG NODE_OPTIONS
101101ENV NODE_OPTIONS=${NODE_OPTIONS}
102102
103103# Release information
104- ARG VITE_APP_RELEASE
104+ ARG VITE_APP_SENTRY_RELEASE
105105ARG VITE_APP_COMMITHASH
106106ARG VITE_APP_BUILDTIME
107107
108108# Use template and inject the environment variables into .prod/nginx.conf
109109ENV VITE_APP_BUILDTIME=${VITE_APP_BUILDTIME:-"" }
110- ENV VITE_APP_RELEASE=${VITE_APP_RELEASE :-"" }
110+ ENV VITE_APP_RELEASE=${VITE_APP_SENTRY_RELEASE :-"" }
111111ENV VITE_APP_COMMITHASH=${VITE_APP_COMMITHASH:-"" }
112112COPY .prod/nginx.conf.template /tmp/.prod/nginx.conf.template
113113RUN export APP_VERSION=$(yarn --silent app:version) && \
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if (import.meta.env.VITE_APP_SENTRY_DSN) {
1414 Sentry . init ( {
1515 dsn : import . meta. env . VITE_APP_SENTRY_DSN ,
1616 environment : import . meta. env . VITE_APP_SENTRY_ENVIRONMENT ,
17- release : import . meta. env . VITE_APP_RELEASE ,
17+ release : import . meta. env . VITE_APP_SENTRY_RELEASE ,
1818 integrations : [
1919 Sentry . browserTracingIntegration ( ) ,
2020 Sentry . replayIntegration ( ) ,
You can’t perform that action at this time.
0 commit comments