Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CreateRelease.ps1')
-rw-r--r--CreateRelease.ps17
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