Use correct env var for version.

This commit is contained in:
Eric Fontana
2015-06-04 07:37:19 -04:00
parent 1f211f2713
commit 9e11c4c926

View File

@@ -14,17 +14,17 @@ build:
mkdir tools
NuGet.exe restore TimberWinR.sln
build:
verbosity: minimal
after_build:
verbosity: minimal
after_build:
- ps: >-
cat chocolateyInstall.ps1.template|%{$_-replace "\$\{version\}",$env:VERSION_FROM_BRANCH} > tools\chocolateyInstall.ps1
cat chocolateyUninstall.ps1.template|%{$_-replace "\$\{version\}",$env:VERSION_FROM_BRANCH} > tools\chocolateyUninstall.ps1
cat tools\chocolateyUninstall.ps1
artifacts:
artifacts:
- path: .\*.nupkg
name: NuGet
name: NuGet
- path: TimberWinR.ServiceHost\bin\*\*.dll
name: Dlls
name: Dlls
- path: TimberWinR.ServiceHost\bin\*\*.exe
name: Exes
- path: TimberWix\bin\*\*.msi