File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class Parameters
50
50
// CONFIGURATION
51
51
MainRepo = "https://github.com/AvaloniaUI/Avalonia" ;
52
52
MasterBranch = "master" ;
53
- ReleaseBranchPrefix = "release/" ;
53
+ ReleaseBranchPrefix = "refs/heads/ release/" ;
54
54
ReleaseConfiguration = "Release" ;
55
55
MSBuildSolution = "./dirs.proj" ;
56
56
@@ -64,7 +64,7 @@ public class Parameters
64
64
IsPullRequest = buildSystem . AppVeyor . Environment . PullRequest . IsPullRequest ;
65
65
IsMainRepo = StringComparer . OrdinalIgnoreCase . Equals ( MainRepo , context . EnvironmentVariable ( "BUILD_REPOSITORY_URI" ) ) ;
66
66
IsMasterBranch = StringComparer . OrdinalIgnoreCase . Equals ( MasterBranch , context . EnvironmentVariable ( "BUILD_SOURCEBRANCHNAME" ) ) ;
67
- IsReleaseBranch = context . EnvironmentVariable ( "BUILD_SOURCEBRANCHNAME " ) . ToLower ( ) . StartsWith ( ReleaseBranchPrefix . ToLower ( ) ) ;
67
+ IsReleaseBranch = context . EnvironmentVariable ( "BUILD_SOURCEBRANCH " ) . ToLower ( ) . StartsWith ( ReleaseBranchPrefix . ToLower ( ) ) ;
68
68
IsTagged = buildSystem . AppVeyor . Environment . Repository . Tag . IsTag
69
69
&& ! string . IsNullOrWhiteSpace ( buildSystem . AppVeyor . Environment . Repository . Tag . Name ) ;
70
70
IsReleasable = StringComparer . OrdinalIgnoreCase . Equals ( ReleaseConfiguration , Configuration ) ;
You can’t perform that action at this time.
0 commit comments