Slice bundle hash to match other platforms, needed for render.com deployments

This commit is contained in:
Eric Bailey
2025-07-23 11:48:58 -05:00
parent 8fa5c8e976
commit e9b1715e5e
+4 -4
View File
@@ -22,12 +22,12 @@ export const IS_DEV = __DEV__
export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT
/** /**
* The commit hash that the current bundle was made from. The user can see the * The _short_ commit hash that the current bundle was made from. The user can
* commit hash in the app's settings along with the other version info. Useful * see the commit hash in the app's settings along with the other version info.
* for debugging/reporting. * Useful for debugging/reporting.
*/ */
export const BUNDLE_IDENTIFIER: string = export const BUNDLE_IDENTIFIER: string =
process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER || 'dev' process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER?.slice(0, 7) || 'dev'
/** /**
* This will always be in the format of YYMMDD, so that it always increases for * This will always be in the format of YYMMDD, so that it always increases for