Skip to content

Commit 7c92a3d

Browse files
authored
Execute PackSplunkDistribution after AddSplunkDistribution (#36)
1 parent 736485e commit 7c92a3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/Build.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ static string GetOTelAutoInstrumentationFileName()
8686
return fileName;
8787
}
8888

89-
Target AddSplunkDistribution => _ => _
90-
.After(UnpackAutoInstrumentationDistribution)
89+
Target AddSplunkPlugins => _ => _
90+
.After(Compile)
9191
.Executes(() =>
9292
{
9393
FileSystemTasks.CopyFileToDirectory(
@@ -97,7 +97,7 @@ static string GetOTelAutoInstrumentationFileName()
9797
});
9898

9999
Target PackSplunkDistribution => _ => _
100-
.After(Compile)
100+
.After(AddSplunkPlugins)
101101
.Executes(() =>
102102
{
103103
var fileName = GetOTelAutoInstrumentationFileName();
@@ -143,8 +143,8 @@ static string GetOTelAutoInstrumentationFileName()
143143
.DependsOn(Restore)
144144
.DependsOn(DownloadAutoInstrumentationDistribution)
145145
.DependsOn(UnpackAutoInstrumentationDistribution)
146-
.DependsOn(AddSplunkDistribution)
147146
.DependsOn(Compile)
147+
.DependsOn(AddSplunkPlugins)
148148
.DependsOn(RunUnitTests)
149149
.DependsOn(RunIntegrationTests)
150150
.DependsOn(PackSplunkDistribution);

0 commit comments

Comments
 (0)