@@ -15,38 +15,32 @@ public static partial class PostSharpDependencies
1515 [ PublicAPI ]
1616 public static class V2025_1
1717 {
18- private class PostSharpDependencyDefinition : DependencyDefinition
19- {
20- private static readonly TeamCityProjectId _teamCityProjectId = new (
21- $ "PostSharpGitHub_{ _projectName } { Family . VersionWithoutDots } ",
22- "PostSharpGitHub" ) ;
23-
24- private static readonly string _distributionBuildId = $ "{ _teamCityProjectId } _BuildDistribution";
25-
26- public PostSharpDependencyDefinition ( )
27- : base (
28- Family ,
29- "PostSharpPackage" ,
30- $ "refs/heads/release/{ Family . Version } ",
31- null ,
32- new GitHubRepository ( _projectName , _projectName ) ,
33- new CiProjectConfiguration (
34- _teamCityProjectId ,
35- new ConfigurationSpecific < string > ( "not-used" , _distributionBuildId , "not-used" ) ,
36- null ,
37- null ,
38- EnvironmentVariableNames . TeamCityToken ,
39- TeamCityHelper . TeamCityCloudUrl ) ,
40- false )
41- {
42- this . EngineeringDirectory = @"Build\Distribution\eng" ;
43- this . PackagePatterns = [ "PostSharp" , "PostSharp.Redist" , "PostSharp.Compiler.*" , "PostSharp.Patterns.*" , "PostSharp.Settings.*" ] ;
44- this . AutoUpdateVersion = false ;
45- }
46- }
47-
4818 public static ProductFamily Family { get ; } = new ( _projectName , "2025.1" , DevelopmentDependencies . Family ) ;
4919
50- public static DependencyDefinition PostSharp { get ; } = new PostSharpDependencyDefinition ( ) ;
20+ private static readonly TeamCityProjectId _teamCityProjectId = new (
21+ $ "PostSharpGitHub_{ _projectName } { Family . VersionWithoutDots } ",
22+ "PostSharpGitHub" ) ;
23+
24+ private static readonly string _distributionBuildId = $ "{ _teamCityProjectId } _BuildDistribution";
25+
26+ public static DependencyDefinition PostSharp { get ; } = new DependencyDefinition (
27+ Family ,
28+ "PostSharpPackage" ,
29+ $ "refs/heads/release/{ Family . Version } ",
30+ null ,
31+ new GitHubRepository ( _projectName , _projectName ) ,
32+ new CiProjectConfiguration (
33+ _teamCityProjectId ,
34+ new ConfigurationSpecific < string > ( "not-used" , _distributionBuildId , "not-used" ) ,
35+ null ,
36+ null ,
37+ EnvironmentVariableNames . TeamCityToken ,
38+ TeamCityHelper . TeamCityCloudUrl ) ,
39+ false )
40+ {
41+ EngineeringDirectory = @"Build\Distribution\eng" ,
42+ PackagePatterns = [ "PostSharp" , "PostSharp.Redist" , "PostSharp.Compiler.*" , "PostSharp.Patterns.*" , "PostSharp.Settings.*" ] ,
43+ AutoUpdateVersion = false
44+ } ;
5145 }
5246}
0 commit comments