Align dist

This commit is contained in:
Eric Bailey
2023-11-28 21:43:19 -06:00
parent 2053fece6f
commit 7a4e1b8a3f
+7 -1
View File
@@ -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}`,
},
},
],