Skip to content

Commit 437b174

Browse files
committed
Fixed package source patterns.
1 parent 4e20325 commit 437b174

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

src/PostSharp.Engineering.BuildTools/Dependencies/Definitions/DevelopmentDependencies.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ public static class DevelopmentDependencies
1818
$"develop/{Family.Version}",
1919
$"release/{Family.Version}",
2020
new GitHubRepository( "PostSharp.Engineering", "postsharp" ),
21-
TeamCityHelper.CreateConfiguration(
22-
TeamCityHelper.GetProjectId( "PostSharp.Engineering", Family.Name ) ) )
21+
TeamCityHelper.CreateConfiguration( TeamCityHelper.GetProjectId( "PostSharp.Engineering", Family.Name ) ) )
2322
{
2423
GenerateSnapshotDependency = false,
2524

@@ -32,6 +31,11 @@ public static class DevelopmentDependencies
3231
BuildConfiguration.Debug,
3332
BuildConfiguration.Debug,
3433
BuildConfiguration.Debug ),
35-
BuildOrder = int.MinValue
34+
BuildOrder = int.MinValue,
35+
36+
// We intentionally exclude PostSharp.Engineering.Sdk because it is referenced from global.json
37+
// which is not automatically updated when referencing PostSharp.Engineering locally, so exact the package version
38+
// is not present in the local artifact directory.
39+
PackagePatterns = ["PostSharp.Engineering.BuildTools", "PostSharp.Engineering.DocFx"]
3640
};
3741
}

src/PostSharp.Engineering.BuildTools/Dependencies/Definitions/MetalamaDependencies.V2026_0.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ public MetalamaDependencyDefinition(
8989
PackagePatterns =
9090
[
9191
"Metalama.Backstage*",
92-
"Metalama.Framework*",
93-
"Metalama.Extensions*",
92+
"Metalama.Framework*",
93+
"Metalama.Extensions*",
9494
"Metalama.Patterns*",
95-
"Metalama.LinqPad*",
95+
"Metalama.LinqPad*",
9696
"Metalama.Migration*",
9797
"Metalama.Testing.*",
9898
"Metalama.Tool"
@@ -107,6 +107,8 @@ public MetalamaDependencyDefinition(
107107
VcsProvider.GitHub,
108108
MetalamaGitHubOrganization.Metalama )
109109
{
110+
PackagePatterns = ["Metalama.Patterns.*"]
111+
110112
// SuppressUpstream = true
111113
};
112114

src/PostSharp.Engineering.BuildTools/Dependencies/Definitions/PostSharpDependencies.V2026_0.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public PostSharpDependencyDefinition()
3939
false )
4040
{
4141
this.EngineeringDirectory = @"Build\Distribution\eng";
42-
43-
// We intentionally exclude PostSharp.Engineering.Sdk because it is referenced from global.json
44-
// which is not often updated referencing PostSharp.Engineering locally, so exact the package version
45-
// is not present in the local artifact directory.
46-
this.PackagePatterns = ["PostSharp.Engineering.BuildTools.*"];
4742
}
4843
}
4944

0 commit comments

Comments
 (0)