Quellcode durchsuchen

Make Buddy build the same as official builds for drop folder structure

Michael Ferris vor 7 Jahren
Ursprung
Commit
817a44fa1d
1 geänderte Dateien mit 1 neuen und 7 gelöschten Zeilen
  1. 1 7
      Build/scripts/init_build.ps1

+ 1 - 7
Build/scripts/init_build.ps1

@@ -152,13 +152,7 @@ if ($BranchName -eq "master") {
     $ShortBranch = $BranchName.replace("release/","")
 }
 
-# unless it is a build branch, subdivide the output directory by month
-if ($BranchPath.StartsWith("build")) {
-    $YearAndMonth = ""
-} else {
-    $YearAndMonth = (Get-Date $buildPushDate -Format yyMM) + "\"
-}
-
+$YearAndMonth = (Get-Date $buildPushDate -Format yyMM) + "\"
 $BuildIdentifier = "${buildPushIdString}_${PushDate}_${Username}_${CommitHash}"
 $ComputedDropPathSegment = "${BranchPath}\${YearAndMonth}${BuildIdentifier}"
 $ObjectDirectory = "${BinariesDirectory}\obj\${BuildPlatform}_${BuildConfiguration}"