File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ exports.default = function (buildResult) {
15
15
console . log ( "BUILD TYPE" , process . env . BUILD_TYPE )
16
16
console . log ( "outDir" , buildResult . outDir )
17
17
console . log ( "artifactPaths" , buildResult . artifactPaths )
18
- console . log ( "platforms " , Object . keys ( buildResult . platformToTargets ) )
19
- console . log ( "first platform" , Object . keys ( buildResult . platformToTargets ) [ 0 ] )
20
- let platform = Object . keys ( buildResult . platformToTargets ) [ 0 ]
21
- if ( process . env . BUILD_TYPE === 'trial' && platform === 'win32' ) {
22
- fs . renameSync ( 'latest.yml' , 'latest-trial.yml' )
23
- } else {
24
- fs . renameSync ( 'latest-mac.yml' , 'latest-mac-trial.yml' )
18
+ console . log ( "platformToTargets " , buildResult . platformToTargets )
19
+ if ( process . env . BUILD_TYPE === 'trial' ) {
20
+ if ( process . env . BUILD_PLATFORM === 'win32' ) {
21
+ fs . renameSync ( 'latest.yml' , 'latest-trial.yml' )
22
+ } else {
23
+ fs . renameSync ( 'latest-mac.yml' , 'latest-mac-trial.yml' )
24
+ }
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments