summaryrefslogtreecommitdiff
path: root/create-nuget.bat
diff options
context:
space:
mode:
authorChris King <kingces95@gmail.com>2017-03-14 07:33:20 -0700
committerChris King <kingces95@gmail.com>2017-03-14 07:33:20 -0700
commit29a818b90b218413af13b17dabf8df63e0fe9e39 (patch)
treecfe69c2273830ca077037730029c551f66208fd9 /create-nuget.bat
parent9fb7101760535cf108441ab5ff13fe6951cf259e (diff)
downloadxamarin-forms-29a818b90b218413af13b17dabf8df63e0fe9e39.tar.gz
xamarin-forms-29a818b90b218413af13b17dabf8df63e0fe9e39.tar.bz2
xamarin-forms-29a818b90b218413af13b17dabf8df63e0fe9e39.zip
Update create-nuget.bat
Diffstat (limited to 'create-nuget.bat')
-rw-r--r--create-nuget.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/create-nuget.bat b/create-nuget.bat
index 10ed8534..4f2ed906 100644
--- a/create-nuget.bat
+++ b/create-nuget.bat
@@ -1,8 +1,10 @@
+if "%DEBUG_VERSION%"=="" set DEBUG_VERSION=0
+set /a DEBUG_VERSION=%DEBUG_VERSION%+1
pushd docs
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Core.xml Xamarin.Forms.Core
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Xaml.xml Xamarin.Forms.Xaml
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Maps.xml Xamarin.Forms.Maps
popd
pushd .nuspec
-..\.nuget\NuGet.exe pack Xamarin.Forms.nuspec -properties configuration=debug;platform=anycpu -Version 9.9.9
+..\.nuget\NuGet.exe pack Xamarin.Forms.nuspec -properties configuration=debug;platform=anycpu -Version 9.9.%DEBUG_VERSION%
popd