File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2
2
<package xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
3
3
<metadata xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
4
4
<id >elmah.sqlserver</id >
5
- <version >2.0.0-alpha001 </version >
5
+ <version >2.0.0$VersionSuffix$ </version >
6
6
<title >Microsoft SQL Server Error Log for ELMAH</title >
7
7
<authors >Atif Aziz</authors >
8
8
<owners >Atif Aziz, James Driscoll</owners >
Original file line number Diff line number Diff line change 9
9
for %%i in (NuGet.exe) do set nuget = %%~dpnx$PATH:i
10
10
if " %nuget% " == " " goto :nonuget
11
11
if not exist dist md dist || exit /b 1
12
- call build && for %%i in (*.nuspec) do (NuGet pack %%i -Symbols -OutputDirectory dist || exit /b 1)
12
+ set VERSION_SUFFIX =
13
+ if not " %~1 " == " " set VERSION_SUFFIX = -Properties " VersionSuffix=-%~1 "
14
+ call build && for %%i in (*.nuspec) do (NuGet pack %%i %VERSION_SUFFIX% -Symbols -OutputDirectory dist || exit /b 1)
13
15
goto :EOF
14
16
15
17
:nonuget
You can’t perform that action at this time.
0 commit comments