Just fallback to package version for Render deploys

This commit is contained in:
Eric Bailey
2025-07-28 17:45:45 -05:00
parent 0afd105346
commit 7ada116ef0
3 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -3,6 +3,7 @@ const {withAlias} = require('@expo/webpack-config/addons')
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin')
const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer')
const {sentryWebpackPlugin} = require('@sentry/webpack-plugin')
const {version} = require('./package.json')
const GENERATE_STATS = process.env.EXPO_PUBLIC_GENERATE_STATS === '1'
const OPEN_ANALYZER = process.env.EXPO_PUBLIC_OPEN_ANALYZER === '1'
@@ -52,7 +53,8 @@ module.exports = async function (env, argv) {
project: 'app',
authToken: process.env.SENTRY_AUTH_TOKEN,
release: {
name: process.env.SENTRY_RELEASE,
// fallback needed for Render.com deployments
name: process.env.SENTRY_RELEASE || version,
dist: process.env.SENTRY_DIST,
},
}),