An IRC library written in C#
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Build-Release.cmd 582B

1234567891011121314
  1. @echo off
  2. pushd %~dp0
  3. : Update Version.txt file
  4. PowerShell "$versionFile = Get-Content -Path version.txt ; $version = [version]($versionFile) ; $newVersion = New-Object -TypeName System.Version -ArgumentList $version.Major, $version.Minor, $version.Build, ($version.Revision + 1) ; $newVersion | Set-Content -Path version.txt"
  5. : Grab version from text file
  6. set /p VERSION_ASSEMBLY=<version.txt
  7. : Build everything, passing the version number
  8. "C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe" /t:Rebuild /p:Configuration=Release;VersionAssembly=%VERSION_ASSEMBLY%
  9. popd