Skip to content

Commit 817a44f

Browse files
committed
Make Buddy build the same as official builds for drop folder structure
1 parent 51c6097 commit 817a44f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Build/scripts/init_build.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,7 @@ if ($BranchName -eq "master") {
152152
$ShortBranch = $BranchName.replace("release/","")
153153
}
154154

155-
# unless it is a build branch, subdivide the output directory by month
156-
if ($BranchPath.StartsWith("build")) {
157-
$YearAndMonth = ""
158-
} else {
159-
$YearAndMonth = (Get-Date $buildPushDate -Format yyMM) + "\"
160-
}
161-
155+
$YearAndMonth = (Get-Date $buildPushDate -Format yyMM) + "\"
162156
$BuildIdentifier = "${buildPushIdString}_${PushDate}_${Username}_${CommitHash}"
163157
$ComputedDropPathSegment = "${BranchPath}\${YearAndMonth}${BuildIdentifier}"
164158
$ObjectDirectory = "${BinariesDirectory}\obj\${BuildPlatform}_${BuildConfiguration}"

0 commit comments

Comments
 (0)