Merge pull request #5529 from piotrpMSFT/piotrpMSFT/merge/1.0.0-rc3
Merge 1.0.0-rc3
This commit is contained in:
commit
41330f072f
9 changed files with 30 additions and 15 deletions
|
@ -7,6 +7,6 @@
|
||||||
<CLI_NuGet_Version>4.0.0-rtm-2241</CLI_NuGet_Version>
|
<CLI_NuGet_Version>4.0.0-rtm-2241</CLI_NuGet_Version>
|
||||||
<CLI_WEBSDK_Version>1.0.0-alpha-20170120-3-249</CLI_WEBSDK_Version>
|
<CLI_WEBSDK_Version>1.0.0-alpha-20170120-3-249</CLI_WEBSDK_Version>
|
||||||
<CLI_TestPlatform_Version>15.0.0-preview-20170125-04</CLI_TestPlatform_Version>
|
<CLI_TestPlatform_Version>15.0.0-preview-20170125-04</CLI_TestPlatform_Version>
|
||||||
<TemplateEngineVersion>1.0.0-beta1-20170108-83</TemplateEngineVersion>
|
<TemplateEngineVersion>1.0.0-beta1-20170126-102</TemplateEngineVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -57,11 +57,8 @@
|
||||||
<Output TaskParameter="VersionMajor" PropertyName="VersionMajor" />
|
<Output TaskParameter="VersionMajor" PropertyName="VersionMajor" />
|
||||||
<Output TaskParameter="VersionMinor" PropertyName="VersionMinor" />
|
<Output TaskParameter="VersionMinor" PropertyName="VersionMinor" />
|
||||||
<Output TaskParameter="VersionPatch" PropertyName="VersionPatch" />
|
<Output TaskParameter="VersionPatch" PropertyName="VersionPatch" />
|
||||||
<Output TaskParameter="CommitCount" PropertyName="CommitCount" />
|
<Output TaskParameter="CommitCount" PropertyName="DefaultCommitCount" />
|
||||||
<Output TaskParameter="ReleaseSuffix" PropertyName="ReleaseSuffix" />
|
<Output TaskParameter="ReleaseSuffix" PropertyName="ReleaseSuffix" />
|
||||||
<Output TaskParameter="VersionSuffix" PropertyName="VersionSuffix" />
|
|
||||||
<Output TaskParameter="SimpleVersion" PropertyName="SimpleVersion" />
|
|
||||||
<Output TaskParameter="NugetVersion" PropertyName="NugetVersion" />
|
|
||||||
<Output TaskParameter="MsiVersion" PropertyName="MsiVersion" />
|
<Output TaskParameter="MsiVersion" PropertyName="MsiVersion" />
|
||||||
<Output TaskParameter="VersionBadgeMoniker" PropertyName="VersionBadgeMoniker" />
|
<Output TaskParameter="VersionBadgeMoniker" PropertyName="VersionBadgeMoniker" />
|
||||||
<Output TaskParameter="Channel" PropertyName="Channel" />
|
<Output TaskParameter="Channel" PropertyName="Channel" />
|
||||||
|
@ -73,6 +70,12 @@
|
||||||
</GenerateNuGetPackagesArchiveVersion>
|
</GenerateNuGetPackagesArchiveVersion>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<CommitCount Condition=" '$(CommitCount)' == '' ">$(DefaultCommitCount)</CommitCount>
|
||||||
|
|
||||||
|
<SimpleVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch).$(CommitCount)</SimpleVersion>
|
||||||
|
<VersionSuffix>$(ReleaseSuffix)-$(CommitCount)</VersionSuffix>
|
||||||
|
<NugetVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(VersionSuffix)</NugetVersion>
|
||||||
|
|
||||||
<VersionBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg</VersionBadge>
|
<VersionBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg</VersionBadge>
|
||||||
<SdkVersion>$(NugetVersion)</SdkVersion>
|
<SdkVersion>$(NugetVersion)</SdkVersion>
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,25 @@
|
||||||
<NuGetPackagesArchiveDirectory Include="$(NuGetPackagesArchiveFolder)" />
|
<NuGetPackagesArchiveDirectory Include="$(NuGetPackagesArchiveFolder)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<NuGetConfigContent>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="configurable.source" value="%CLI_LZMA_PACKAGE_SOURCE%" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
</NuGetConfigContent>
|
||||||
|
<LZMANuGetConfigFilePath>$(NuGetPackagesArchiveProject)/Nuget.config</LZMANuGetConfigFilePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<Delete Files="@(FilesToClean)" />
|
<Delete Files="@(FilesToClean)" />
|
||||||
<RemoveDir Directories="@(NuGetPackagesArchiveDirectory)" />
|
<RemoveDir Directories="@(NuGetPackagesArchiveDirectory)" />
|
||||||
<MakeDir Directories="@(NuGetPackagesArchiveDirectory)"/>
|
<MakeDir Directories="@(NuGetPackagesArchiveDirectory)"/>
|
||||||
|
|
||||||
|
<WriteLinesToFile Condition=" 'CLI_LZMA_PACKAGE_SOURCE' != '' "
|
||||||
|
File="$(LZMANuGetConfigFilePath)"
|
||||||
|
Lines="$(NuGetConfigContent)" />
|
||||||
|
|
||||||
<DotNetNew ToolPath="$(Stage2Directory)"
|
<DotNetNew ToolPath="$(Stage2Directory)"
|
||||||
TemplateType="Web"
|
TemplateType="Web"
|
||||||
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
||||||
|
|
|
@ -133,5 +133,6 @@ docker run $INTERACTIVE -t --rm --sig-proxy=true \
|
||||||
-e CHECKSUM_STORAGE_ACCOUNT \
|
-e CHECKSUM_STORAGE_ACCOUNT \
|
||||||
-e CHECKSUM_STORAGE_CONTAINER \
|
-e CHECKSUM_STORAGE_CONTAINER \
|
||||||
-e CLIBUILD_SKIP_TESTS \
|
-e CLIBUILD_SKIP_TESTS \
|
||||||
|
-e CommitCount \
|
||||||
$DOTNET_BUILD_CONTAINER_TAG \
|
$DOTNET_BUILD_CONTAINER_TAG \
|
||||||
$BUILD_COMMAND "$@"
|
$BUILD_COMMAND "$@"
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.0.2" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.0.2" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.0.1" />
|
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.0.1" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.1" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.0.0" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.0" />
|
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" />
|
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.0.0" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.0.1" />
|
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.0.1" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.1" />
|
||||||
<PackageReference Include="Microsoft.FSharp.Core.netcore" Version="1.0.0-alpha-161023" />
|
<PackageReference Include="Microsoft.FSharp.Core.netcore" Version="1.0.0-alpha-161023" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.0.0" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -42,10 +42,6 @@ namespace Microsoft.DotNet.New3.Tests
|
||||||
File.Copy(configFile.FullName, Path.Combine(rootPath, "NuGet.Config"));
|
File.Copy(configFile.FullName, Path.Combine(rootPath, "NuGet.Config"));
|
||||||
}
|
}
|
||||||
|
|
||||||
string globalJsonPath = Path.Combine(rootPath, "global.json");
|
|
||||||
Assert.True(File.Exists(globalJsonPath));
|
|
||||||
Assert.Contains(Product.Version, File.ReadAllText(globalJsonPath));
|
|
||||||
|
|
||||||
new TestCommand("dotnet")
|
new TestCommand("dotnet")
|
||||||
.WithWorkingDirectory(rootPath)
|
.WithWorkingDirectory(rootPath)
|
||||||
.Execute($"restore")
|
.Execute($"restore")
|
||||||
|
|
|
@ -82,7 +82,7 @@ A command is running to initially populate your local package cache, to improve
|
||||||
{
|
{
|
||||||
_nugetCacheFolder
|
_nugetCacheFolder
|
||||||
.Should()
|
.Should()
|
||||||
.HaveFile($"{GetDotnetVersion()}.dotnetSentinel");
|
.HaveFile($"{GetDotnetVersion()}.dotnetSentinel");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
@ -116,7 +116,7 @@ A command is running to initially populate your local package cache, to improve
|
||||||
|
|
||||||
_nugetCacheFolder
|
_nugetCacheFolder
|
||||||
.GetDirectory("microsoft.aspnetcore.mvc")
|
.GetDirectory("microsoft.aspnetcore.mvc")
|
||||||
.Should().HaveDirectories(new string[] { "1.0.2", "1.1.0" });
|
.Should().HaveDirectories(new string[] { "1.0.2", "1.1.1" });
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetDotnetVersion()
|
private string GetDotnetVersion()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue