Update BUNDLE_DATE format comment

This commit is contained in:
Eric Bailey
2025-07-23 17:41:14 -05:00
parent 09dcc384f4
commit bfc8bb9d44
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ EXPO_PUBLIC_ENV=development
# This is the short commit hash that the current bundle was made from. # This is the short commit hash that the current bundle was made from.
EXPO_PUBLIC_BUNDLE_IDENTIFIER= EXPO_PUBLIC_BUNDLE_IDENTIFIER=
# Should be formatted YYMMDD so that it increases for each build. # Should be formatted YYMMDDHH so that it increases for each build.
EXPO_PUBLIC_BUNDLE_DATE=0 EXPO_PUBLIC_BUNDLE_DATE=0
# The log level for the app's logger transports # The log level for the app's logger transports
+3 -3
View File
@@ -30,9 +30,9 @@ export const BUNDLE_IDENTIFIER: string =
process.env.EXPO_PUBLIC_BUNDLE_IDENTIFIER?.slice(0, 7) || '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 YYMMDDHH, so that it always increases
* each build. This should only be used for StatSig reporting and shouldn't be * for each build. This should only be used for StatSig reporting and shouldn't
* used to identify a specific bundle. * be used to identify a specific bundle.
*/ */
export const BUNDLE_DATE: number = export const BUNDLE_DATE: number =
IS_INTERNAL || !process.env.EXPO_PUBLIC_BUNDLE_DATE IS_INTERNAL || !process.env.EXPO_PUBLIC_BUNDLE_DATE