From 7a4e1b8a3f3758bedb5037f8ee6adfc0eea3ec71 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 28 Nov 2023 21:43:19 -0600 Subject: [PATCH] Align dist --- app.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app.config.js b/app.config.js index 7cc8a946c3..bb79260e26 100644 --- a/app.config.js +++ b/app.config.js @@ -23,6 +23,12 @@ module.exports = function () { */ const PLATFORM = process.env.EAS_BUILD_PLATFORM + /** + * Additional granularity for the `dist` field + */ + const DIST_BUILD_NUMBER = + PLATFORM === 'android' ? ANDROID_VERSION_CODE : IOS_BUILD_NUMBER + return { expo: { version: VERSION, @@ -132,7 +138,7 @@ module.exports = function () { organization: 'blueskyweb', project: 'react-native', release: VERSION, - dist: `${PLATFORM}.${VERSION}`, + dist: `${PLATFORM}.${VERSION}.${DIST_BUILD_NUMBER}`, }, }, ],