Skip to content

Commit 586e792

Browse files
Oren NovotnyJakeGinnivan
authored andcommitted
more docs
1 parent f03fedd commit 586e792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/more-info/build-server-setup/tfs-build-vnext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GitVersion writes build parameters into VSO, so they will automatically be passe
2424
* We output the individual values of the GitVersion version as the build parameter: `GitVersion.*` (Eg: `GitVersion.Major`) if you need access to them in your build script
2525

2626
### NuGet in VSO
27-
* Add dummy parameter to the project called `GitVersion.NuGetVersion`.
28-
* Then setup you nuget pack build set the "version" to `%GitVersion.NuGetVersion%`
27+
* If you use a command script to build your NuPkg, use `%GITVERSION_NUGETVERSION%` as the version parameter: `nuget.exe pack path\to\my.nuspec -version %GITVERSION_NUGETVERSION%`
28+
2929

3030

0 commit comments

Comments
 (0)