Skip to content

Commit d9814ea

Browse files
authored
Merge pull request #1323 from Unity-Technologies/repackage-mbe-for-stevedore
Repackage stevedore artifact to remove builds in folder structure
2 parents c79b153 + 8e352ae commit d9814ea

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

external/buildscripts/Build.bee.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private static void RegisterCommonArtifacts()
4949
{
5050
Artifacts.Add("MonoBleedingEdge",
5151
new Tuple<string, string>(
52-
"MonoBleedingEdge/fd0d97a7a35_5d627f842afebea942027a7fe8a590effb76deaf44736482b8bbcfae58316d42.7z",
52+
"MonoBleedingEdge/f6eb9e15148_2a5566bb437c65d9af40d5f0f7fa4c2cc0f6e6efa243ae673bde2f5b29b03f08.7z",
5353
"unity-internal"));
5454

5555
Artifacts.Add("reference-assemblies",

external/buildscripts/build.pl

+1-6
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,7 @@
329329
{
330330
print(">>> External mono found at : $existingExternalMono\n");
331331

332-
if (-d "$existingExternalMono/builds")
333-
{
334-
print(">>> Mono found at at : $existingExternalMono/builds\n");
335-
}
336-
337-
$existingMonoRootPath = "$existingExternalMono/builds/monodistribution";
332+
$existingMonoRootPath = "$existingExternalMono/monodistribution";
338333
}
339334
else
340335
{

external/buildscripts/collect_allbuilds.pl

+2-9
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@
5353

5454
rmove('versions-aggregated.txt', 'versions.txt');
5555

56-
open(MYFILE,">built_by_teamcity.txt");
57-
print MYFILE "These builds were created by teamcity from svn revision $ENV{BUILD_VCS_NUMBER}\n";
58-
print MYFILE "TC projectname was: $ENV{TEAMCITY_PROJECT_NAME}\n";
59-
print MYFILE "TC buildconfigname was: $ENV{TEAMCITY_BUILDCONF_NAME}\n";
60-
close(MYFILE);
61-
6256
my $externalBuildDeps = "$monoroot/external/buildscripts/artifacts/Stevedore";
6357
my $externalzip = "";
6458
if($^O eq "linux")
@@ -77,12 +71,11 @@
7771
{
7872
rmtree("../stevedore");
7973
my $stevedoreMbePath = "../stevedore/MonoBleedingEdge";
80-
my $stevedoreMbeBuildsPath = "../stevedore/MonoBleedingEdge/builds";
8174
my $stevedoreMbe7z = "../stevedore/MonoBleedingEdge.7z";
8275
my $stevedoreMbeArtifactID = "../stevedore/artifactid.txt";
8376

84-
system("mkdir -p $stevedoreMbeBuildsPath") eq 0 or die("failed to mkdir $stevedoreMbeBuildsPath");
85-
system("cp -r * $stevedoreMbeBuildsPath/") eq 0 or die ("failed copying builds to $stevedoreMbeBuildsPath\n");
77+
system("mkdir -p $stevedoreMbePath") eq 0 or die("failed to mkdir $stevedoreMbePath");
78+
system("cp -r * $stevedoreMbePath/") eq 0 or die ("failed copying builds to $stevedoreMbePath\n");
8679
if(-f $externalzip)
8780
{
8881
system("$externalzip a $stevedoreMbe7z $stevedoreMbePath/* -sdel") eq 0 or die("failed 7z up $stevedoreMbePath");

0 commit comments

Comments
 (0)