Skip to content

Commit d231a95

Browse files
committed
Update mod-structure under source control with latest assembly
1 parent 985773c commit d231a95

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,16 @@ function doPostBuild
135135
$targetDir = "$(getProjectDir)\bin\Release"
136136
$targetPath = "$targetDir\$targetName.dll"
137137

138-
$gameVersion =
139-
140138
$distAssemblyDir = "$distTargetDir\v$(getGameVersion)\Assemblies"
141139
mkdir $distAssemblyDir | Out-Null
142140

143141
Copy-Item -Recurse -Force "$PSScriptRoot\mod-structure\*" $distTargetDir
144142
Copy-Item -Force $targetPath $distAssemblyDir
145143

144+
$modStructureAssemblyLocation = "$PSScriptRoot\mod-structure\v$(getGameVersion)\Assemblies"
145+
mkdir $modStructureAssemblyLocation | Out-Null
146+
Copy-Item -Force $targetPath $modStructureAssemblyLocation
147+
146148
Write-Host "Creating distro package"
147149
$content = Get-Content -Raw $assemblyInfoFile
148150
if (!($content -match '"(\d+\.\d+\.\d+\.\d+)"'))
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)