Showing the changes to Build/Scripts (1 of 33 files). Show all
Unified · Split
| @@ -67,6 +67,8 @@ · 66 unmodified lines | ||
| 67 | 67 | ** 02/08/2012 - Pinal C. Patel |
| 68 | 68 | ** Updated to support creation of pre-release NuGet packages and publishing NuGet packages to |
| 69 | 69 | ** the official NuGet.org packages feed. |
| 70 | +** 12/02/2014 - J. Ritchie Carroll | |
| 71 | +** Fixed NuGet version naming for pre-release roll-outs. | |
| 70 | 72 | ** |
| 71 | 73 | ******************************************************************************************************* |
| 72 | 74 | --> |
| @@ -167,14 +169,14 @@ · 94 unmodified lines | ||
| 167 | 169 | <ItemGroup> |
| 168 | 170 | <NugetLibraries Include="$(LocalFolder)\Source\Libraries\**\*.nuspec"/> |
| 169 | 171 | </ItemGroup> |
| 170 | − <Exec Command="%22$(Nuget)%22 pack %22%(NugetLibraries.RootDir)%(NugetLibraries.Directory)%(NugetLibraries.Filename).csproj%22 /Version $(Major).$(Minor) /Properties Configuration=$(BuildFlavor) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' != 'true'"/> | |
| 171 | − <Exec Command="%22$(Nuget)%22 pack %22%(NugetLibraries.RootDir)%(NugetLibraries.Directory)%(NugetLibraries.Filename).csproj%22 /Version $(Major).$(Minor)-beta$(Build) /Properties Configuration=$(BuildFlavor) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' == 'true'"/> | |
| 172 | + <Exec Command="%22$(Nuget)%22 pack %22%(NugetLibraries.RootDir)%(NugetLibraries.Directory)%(NugetLibraries.Filename).csproj%22 /Version $(Major).$(Minor).$(Build) /Properties Configuration=$(BuildFlavor) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' != 'true'"/> | |
| 173 | + <Exec Command="%22$(Nuget)%22 pack %22%(NugetLibraries.RootDir)%(NugetLibraries.Directory)%(NugetLibraries.Filename).csproj%22 /Version $(Major).$(Minor).$(Build)-beta /Properties Configuration=$(BuildFlavor) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' == 'true'"/> | |
| 172 | 174 | <Message Text="Creating nuget samples packages..."/> |
| 173 | 175 | <ItemGroup> |
| 174 | 176 | <NugetSamples Include="$(LocalFolder)\Build\Scripts\**\*.nuspec"/> |
| 175 | 177 | </ItemGroup> |
| 176 | − <Exec Command="%22$(Nuget)%22 pack %22%(NugetSamples.FullPath)%22 /Version $(Major).$(Minor) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' != 'true'"/> | |
| 177 | − <Exec Command="%22$(Nuget)%22 pack %22%(NugetSamples.FullPath)%22 /Version $(Major).$(Minor)-beta$(Build) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' == 'true'"/> | |
| 178 | + <Exec Command="%22$(Nuget)%22 pack %22%(NugetSamples.FullPath)%22 /Version $(Major).$(Minor).$(Build) /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' != 'true'"/> | |
| 179 | + <Exec Command="%22$(Nuget)%22 pack %22%(NugetSamples.FullPath)%22 /Version $(Major).$(Minor).$(Build)-beta /OutputDirectory %22$(NugetPackagesFolder)%22" Condition="'$(PreRelease)' == 'true'"/> | |
| 178 | 180 | |
| 179 | 181 | <!-- Publish nuget packages. --> |
| 180 | 182 | <Message Text="Publishing nuget packages to NuGet.org..."/> |