We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77fc9d commit 0027531Copy full SHA for 0027531
build.ps1
@@ -0,0 +1,7 @@
1
+param([int]$Revision = 0)
2
+$currentVersion = Test-ModuleManifest .\UnitySetup\UnitySetup.psd1 | Select-Object -ExpandProperty Version
3
+Write-Host "Current Module Version: $currentVersion"
4
+$newVersion = New-Object System.Version($currentVersion.Major, $currentVersion.Minor, $Revision)
5
+
6
+Write-Host "New Module Version:$newVersion"
7
+Update-ModuleManifest -ModuleVersion $newVersion -Path .\UnitySetup\UnitySetup.psd1
0 commit comments