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