Trim RENDER_GIT_COMMIT to first 7 to match --short sha
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ ARG EXPO_PUBLIC_ENV
|
|||||||
ENV EXPO_PUBLIC_ENV=${EXPO_PUBLIC_ENV:-development}
|
ENV EXPO_PUBLIC_ENV=${EXPO_PUBLIC_ENV:-development}
|
||||||
ARG EXPO_PUBLIC_BUNDLE_IDENTIFIER
|
ARG EXPO_PUBLIC_BUNDLE_IDENTIFIER
|
||||||
# If not set by GitHub workflows, we're probably in Render
|
# If not set by GitHub workflows, we're probably in Render
|
||||||
ENV EXPO_PUBLIC_BUNDLE_IDENTIFIER=${EXPO_PUBLIC_BUNDLE_IDENTIFIER:-$RENDER_GIT_COMMIT}
|
ENV EXPO_PUBLIC_BUNDLE_IDENTIFIER=${EXPO_PUBLIC_BUNDLE_IDENTIFIER:-${RENDER_GIT_COMMIT:0:7}}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sentry
|
# Sentry
|
||||||
|
|||||||
Vendored
+1
-1
@@ -27,7 +27,7 @@ export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT
|
|||||||
* Useful for debugging/reporting.
|
* Useful for debugging/reporting.
|
||||||
*/
|
*/
|
||||||
export const BUNDLE_IDENTIFIER: string =
|
export const BUNDLE_IDENTIFIER: string =
|
||||||
process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER?.slice(0, 7) || 'dev'
|
process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER || 'dev'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This will always be in the format of YYMMDDHH, so that it always increases
|
* This will always be in the format of YYMMDDHH, so that it always increases
|
||||||
|
|||||||
Reference in New Issue
Block a user