소스 검색

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

Michael Ferris 7 년 전
부모
커밋
817a44fa1d
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  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}"