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 b07b5edcc3
commit a87b490305
+4 -4
View File
@@ -22,12 +22,12 @@ export const IS_DEV = __DEV__
export const IS_INTERNAL = IS_DEV || IS_TESTFLIGHT
/**
* The commit hash that the current bundle was made from. The user can see the
* commit hash in the app's settings along with the other version info. Useful
* for debugging/reporting.
* The _short_ commit hash that the current bundle was made from. The user can
* see the commit hash in the app's settings along with the other version info.
* Useful for debugging/reporting.
*/
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