Skip to content

Commit 6b7958d

Browse files
Match release zip layouts to previous releases
Max zips: DLLs inside a Release/ folder (unchanged). Maya zips: DLLs at root + Maya/AETemplates/ and Maya/NETemplates/ subdirectories with template files, matching the legacy layout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8bef728 commit 6b7958d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,13 @@ jobs:
9898
foreach ($year in "${{ env.MAYA_VERSIONS }}".Split(' ')) {
9999
$src = "Maya\bin\Release\$year"
100100
if (Test-Path $src) {
101-
$tmp = "$staging\tmp\Release"
101+
$tmp = "$staging\tmp"
102102
New-Item -ItemType Directory -Path $tmp -Force | Out-Null
103103
Copy-Item -Path "$src\*.dll" -Destination $tmp -Force
104-
Compress-Archive -Path "$staging\tmp\Release" -DestinationPath "$staging\Maya_$year.zip" -Force
105-
Remove-Item -Path "$staging\tmp" -Recurse -Force
104+
Copy-Item -Path "Maya\AETemplates" -Destination "$tmp\Maya\AETemplates" -Recurse -Force -ErrorAction SilentlyContinue
105+
Copy-Item -Path "Maya\NETemplates" -Destination "$tmp\Maya\NETemplates" -Recurse -Force -ErrorAction SilentlyContinue
106+
Compress-Archive -Path "$tmp\*" -DestinationPath "$staging\Maya_$year.zip" -Force
107+
Remove-Item -Path $tmp -Recurse -Force
106108
}
107109
}
108110

0 commit comments

Comments
 (0)