File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ const REVISION = process.env.IS_PATCH ?
50
50
`pr-${ process . env . GITHUB_PR_NUMBER } -${ process . env . REVISION_ORDER_ID } ` :
51
51
process . env . REVISION ;
52
52
53
+ const BUILD_VARIANT = ( process . env . BUILD_VARIANT || '' ) . split ( '_' ) [ 0 ] ;
54
+
53
55
/**
54
56
* Export the configuration for the build.
55
57
*/
@@ -73,7 +75,7 @@ module.exports = {
73
75
isPatch : process . env . IS_PATCH === 'true' ,
74
76
platform : os . platform ( ) ,
75
77
execNodeVersion : process . env . NODE_JS_VERSION || `^${ process . version . slice ( 1 ) } ` ,
76
- buildVariant : process . env . BUILD_VARIANT ,
78
+ buildVariant : BUILD_VARIANT ,
77
79
appleCodesignIdentity : process . env . APPLE_CODESIGN_IDENTITY ,
78
80
appleCodesignEntitlementsFile : path . resolve ( __dirname , 'macos-entitlements.xml' ) ,
79
81
appleNotarizationBundleId : APPLE_NOTARIZATION_BUNDLE_ID ,
You can’t perform that action at this time.
0 commit comments