@@ -9,7 +9,7 @@ namespace PostSharp.Engineering.BuildTools.Dependencies.Definitions;
99
1010public static partial class PostSharpDependencies
1111{
12- // ReSharper disable once InconsistentNaming
12+ // ReSharper disable InconsistentNaming
1313
1414 [ PublicAPI ]
1515 public static class V2025_0
@@ -46,4 +46,40 @@ public PostSharpDependencyDefinition()
4646
4747 public static DependencyDefinition PostSharp { get ; } = new PostSharpDependencyDefinition ( ) ;
4848 }
49+
50+ [ PublicAPI ]
51+ public static class V2025_0_GitHub
52+ {
53+ private class PostSharpDependencyDefinition : DependencyDefinition
54+ {
55+ private static readonly TeamCityProjectId _teamCityProjectId = new (
56+ $ "{ _projectName } _{ _projectName } { Family . VersionWithoutDots } ",
57+ _projectName ) ;
58+
59+ private static readonly string _distributionBuildId = $ "{ _teamCityProjectId } _BuildDistribution";
60+
61+ public PostSharpDependencyDefinition ( )
62+ : base (
63+ Family ,
64+ "PostSharpPackage" ,
65+ $ "release/{ Family . Version } ",
66+ null ,
67+ new GitHubRepository ( _projectName , _projectName ) ,
68+ new CiProjectConfiguration (
69+ _teamCityProjectId ,
70+ new ConfigurationSpecific < string > ( "not-used" , _distributionBuildId , "not-used" ) ,
71+ null ,
72+ null ,
73+ TeamCityHelper . TeamCityCloudTokenEnvironmentVariableName ,
74+ TeamCityHelper . TeamCityCloudUrl ) ,
75+ false )
76+ {
77+ this . EngineeringDirectory = @"Build\Distribution\eng" ;
78+ }
79+ }
80+
81+ public static ProductFamily Family { get ; } = new ( _projectName , "2025.0" , DevelopmentDependencies . Family ) ;
82+
83+ public static DependencyDefinition PostSharp { get ; } = new PostSharpDependencyDefinition ( ) ;
84+ }
4985}
0 commit comments