File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,12 @@ else if ((useMasterReleaseStrategy && AppVeyor.Environment.Repository.Branch !=
34
34
Information ( $ "packageVersion={ packageVersion } ") ;
35
35
36
36
var configuration = "Release" ;
37
- if ( ! useMasterReleaseStrategy
38
- && ! AppVeyor . Environment . PullRequest . IsPullRequest
39
- && AppVeyor . Environment . Repository . Branch == "master" )
37
+ if ( AppVeyor . Environment . PullRequest . IsPullRequest
38
+ && ( useMasterReleaseStrategy && AppVeyor . Environment . Repository . Branch != "master" )
39
+ && ( ! useMasterReleaseStrategy && ! AppVeyor . Environment . Repository . Branch . StartsWith ( "release/" ) )
40
+ )
40
41
{
41
- configuration = "Development" ;
42
- }
43
- else if ( ! AppVeyor . Environment . PullRequest . IsPullRequest
44
- && AppVeyor . Environment . Repository . Branch == "development" )
45
- {
46
- configuration = "QA" ;
42
+ configuration = "Debug" ;
47
43
}
48
44
Information ( $ "configuration={ configuration } ") ;
49
45
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ pwsh -ExecutionPolicy RemoteSigned -File ./build.ps1
3
+
You can’t perform that action at this time.
0 commit comments