diff options
Diffstat (limited to 'CreateRelease.ps1')
-rw-r--r-- | CreateRelease.ps1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CreateRelease.ps1 b/CreateRelease.ps1 new file mode 100644 index 0000000..7bffc42 --- /dev/null +++ b/CreateRelease.ps1 @@ -0,0 +1,7 @@ +cd $PSScriptRoot +$version = (Get-Command UVtools.GUI\bin\Release\UVtools.Parser.dll).FileVersionInfo.ProductVersion + +Add-Type -A System.IO.Compression.FileSystem +[IO.Compression.ZipFile]::CreateFromDirectory("$PSScriptRoot\UVtools.GUI\bin\Release", "$PSScriptRoot\UVtools.GUI\bin\UVtools_v$version.zip") + +Copy-Item "$PSScriptRoot\UVtools.Installer\bin\Release\UVtools.msi" -Destination "$PSScriptRoot\UVtools.GUI\bin\UVtools_v$version.msi"
\ No newline at end of file |