Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
[mono] Update bits to work with version bumps from Maestro
Browse files Browse the repository at this point in the history
- Moves the versions to `eng/Versions.props`
- Adds SDK dependencies to `eng/Version.Details.xml`
- This does *not* enable the subscriptions though, but it sets things up
to allow enabling it in future
  • Loading branch information
radical committed Sep 20, 2019
1 parent 5ef648c commit 0a55104
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 29 deletions.
32 changes: 32 additions & 0 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,37 @@
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>173d70b99a5dbb3ff9298a6e2e9c7f7e7b56dd7c</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk" Version="3.0.100-rc1.19425.1">
<Uri>https://github.com/dotnet/sdk</Uri>
<Sha>d5f22a0303747707a506fbc460884b49f26698d2</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.Razor" Version="3.0.0-rc1.19426.5">
<Uri>https://github.com/aspnet/AspNetCore-Tooling</Uri>
<Sha>f290e8285d888950250a86f8ad55d8cf4cc13994</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.Web" Version="3.0.100-rc1.19427.3">
<Uri>https://github.com/aspnet/websdk</Uri>
<Sha>0162efb78f266ec4d87405d4667325bcfa11b290</Sha>
</Dependency>
<Dependency Name="ILLink.Tasks" Version="0.1.6-prerelease.19380.1">
<Uri>https://github.com/mono/linker</Uri>
<Sha>1127689f262d52ea8ff68ef03d706fa62b3b40a1</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-rc1-19426-11">
<Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>b33b6c20d855e7f9fdda6383ad12d849079f9b21</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Cli.Runtime" Version="3.0.100-rc1.19427.4">
<Uri>https://github.com/dotnet/cli</Uri>
<Sha>d23afb6757bb73014e8c23b3f7c772578827049c</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers" Version="3.3.1-beta3-19426-02">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>c82648d8964d1e683f92b7daa91beef2fdc5fb72</Sha>
</Dependency>
<Dependency Name="NuGet.Build.Tasks" Version="5.3.0-preview.2.6167">
<Uri>https://github.com/NuGet/NuGet.Client</Uri>
<Sha>4590967639182b183b247355596aedc7d0855a86</Sha>
</Dependency>
</ProductDependencies>
</Dependencies>
8 changes: 8 additions & 0 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
<!-- Product Dependencies -->
<PropertyGroup>
<SystemResourcesExtensionsVersion>4.6.0-rc2.19458.3</SystemResourcesExtensionsVersion>
<MicrosoftNetCompilersVersion>3.3.1-beta4-19462-11</MicrosoftNetCompilersVersion>
<MicrosoftNETSdkVersion>3.0.100-rc2.19463.5</MicrosoftNETSdkVersion>
<MicrosoftNETSdkRazorVersion>3.0.0</MicrosoftNETSdkRazorVersion>
<MicrosoftNETSdkWebVersion>3.0.100-rc2.19465.1</MicrosoftNETSdkWebVersion>
<NuGetBuildTasksVersion>5.3.0-rtm.6192</NuGetBuildTasksVersion>
<ILLinkTasksVersion>0.1.6-prerelease.19380.1</ILLinkTasksVersion>
<MicrosoftNETCoreAppVersion>3.0.0</MicrosoftNETCoreAppVersion>
<MicrosoftDotNetCliRuntimeVersion>3.0.100-rc2.19465.3</MicrosoftDotNetCliRuntimeVersion>
</PropertyGroup>
<Target Name="OverrideArcadeFileVersion" AfterTargets="_InitializeAssemblyVersion">
<!-- See https://github.com/dotnet/arcade/issues/3386
Expand Down
38 changes: 14 additions & 24 deletions mono/build/DotNetBitsVersions.props
Original file line number Diff line number Diff line change
@@ -1,36 +1,26 @@
<Project>
<Import Project="..\..\eng\Versions.props" />
<PropertyGroup>
<MicrosoftNETSdkPackageVersion>3.0.100-rc2.19463.5</MicrosoftNETSdkPackageVersion>
<MicrosoftNETBuildExtensionsVersion>$(MicrosoftNETSdkVersion)</MicrosoftNETBuildExtensionsVersion>

<MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
<MicrosoftNETSdkPublishVersion>$(MicrosoftNETSdkWebVersion)</MicrosoftNETSdkPublishVersion>
<MicrosoftNETSdkWebProjectSystemVersion>$(MicrosoftNETSdkWebVersion)</MicrosoftNETSdkWebProjectSystemVersion>
<NuGetBuildTasksPackVersion>$(NuGetBuildTasksVersion)</NuGetBuildTasksPackVersion>

<MicrosoftNETSdkRazorPackageVersion>3.0.0</MicrosoftNETSdkRazorPackageVersion>

<MicrosoftNETSdkWebPackageVersion>3.0.100-rc2.19465.1</MicrosoftNETSdkWebPackageVersion>
<MicrosoftNETSdkPublishPackageVersion>$(MicrosoftNETSdkWebPackageVersion)</MicrosoftNETSdkPublishPackageVersion>
<MicrosoftNETSdkWebProjectSystemPackageVersion>$(MicrosoftNETSdkWebPackageVersion)</MicrosoftNETSdkWebProjectSystemPackageVersion>

<NuGetBuildTasksPackageVersion>5.3.0-rtm.6192</NuGetBuildTasksPackageVersion>
<NuGetBuildTasksPackPackageVersion>$(NuGetBuildTasksPackageVersion)</NuGetBuildTasksPackPackageVersion>

<MicrosoftDotNetMSBuildSdkResolverPackageVersion>3.0.100-rc2.19465.3</MicrosoftDotNetMSBuildSdkResolverPackageVersion>

<MicrosoftNETCoreAppPackageVersion>3.0.0</MicrosoftNETCoreAppPackageVersion>
<DotNetSdkVersionForLibHostFxr>$(MicrosoftNETCoreAppPackageVersion)</DotNetSdkVersionForLibHostFxr>

<ILLinkTasksPackageVersion>0.1.6-prerelease.19380.1</ILLinkTasksPackageVersion>
<MicrosoftDotNetMSBuildSdkResolverVersion>$(MicrosoftDotNetCliRuntimeVersion)</MicrosoftDotNetMSBuildSdkResolverVersion>
<DotNetSdkVersionForLibHostFxr>$(MicrosoftNETCoreAppVersion)</DotNetSdkVersionForLibHostFxr>
</PropertyGroup>

<ItemGroup>
<BundledSdk Include="Microsoft.NET.Sdk" Version="$(MicrosoftNETSdkPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Web" Version="$(MicrosoftNETSdkWebPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Publish" Version="$(MicrosoftNETSdkPublishPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Web.ProjectSystem" Version="$(MicrosoftNETSdkWebProjectSystemPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk" Version="$(MicrosoftNETSdkVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Web" Version="$(MicrosoftNETSdkWebVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Publish" Version="$(MicrosoftNETSdkPublishVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.Web.ProjectSystem" Version="$(MicrosoftNETSdkWebProjectSystemVersion)" />

<BundledSdk Include="ILLink.Tasks" Version="$(ILLinkTasksPackageVersion)" />
<BundledSdk Include="ILLink.Tasks" Version="$(ILLinkTasksVersion)" />

<BundledSdk Include="NuGet.Build.Tasks.Pack" Version="$(NuGetBuildTasksPackPackageVersion)" />
<BundledSdk Include="NuGet.Build.Tasks.Pack" Version="$(NuGetBuildTasksPackVersion)" />

<BundledSdk Include="FSharp.NET.Sdk" Version="1.0.4-bundled-0100" />
<BundledSdk Include="Microsoft.Docker.Sdk" Version="1.1.0" />
Expand Down
2 changes: 1 addition & 1 deletion mono/build/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Update various SDKs that we bundle with mono.

- Update the various versions in `mono/build/DotNetBitsVersions.props`.
- Update the various versions in `eng/Versions.props`
- If any nuget sources need to be updated, then do that in `mono/build/RestoreSourcesOverrides.props`.

- For NuGet update, ensure that the version is updated in `eng/Packages.props`:
Expand Down
8 changes: 4 additions & 4 deletions mono/build/sdks_and_nugets/update_sdks_and_nugets.proj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project DefaultTargets="DeploySdksAndNuGets">
<Import Project="$(MSBuildThisFileDirectory)\..\common.props" />
<Import Project="$(MSBuildThisFileDirectory)\..\DotnetBitsVersions.props" />

Expand All @@ -15,7 +15,7 @@

<HostFxrUrl>$(CoreSetupRootUrl)$(HostFxrVersion)/$(DownloadedHostFxrInstallerFileName)$(CoreSetupBlobAccessTokenParam)</HostFxrUrl>
<MSBuildSdkResolverOutDir>$(DotNetOverlayDirectory)\msbuild-bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver</MSBuildSdkResolverOutDir>
<RuntimeDepsInstallerUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppPackageVersion)/$(DownloadedRuntimeDepsInstallerFileName)$(CoreSetupBlobAccessTokenParam)</RuntimeDepsInstallerUrl>
<RuntimeDepsInstallerUrl>$(CoreSetupRootUrl)$(MicrosoftNETCoreAppVersion)/$(DownloadedRuntimeDepsInstallerFileName)$(CoreSetupBlobAccessTokenParam)</RuntimeDepsInstallerUrl>
</PropertyGroup>

<Target Name="DeploySdksAndNuGets">
Expand All @@ -38,7 +38,7 @@
<Properties>
ProjectWithProperties=ms_extensions.proj;
DependencyPackageName=Microsoft.NET.Build.Extensions;
DependencyPackageVersion=$(MicrosoftNETBuildExtensionsPackageVersion);
DependencyPackageVersion=$(MicrosoftNETBuildExtensionsVersion);
NuGetPackagesDir=$(NuGetPackagesDir);
MSBuildExtensionsPathToolsVersionOutputDirectory=$(MSBuildExtensionsPathToolsVersionOutputDirectory);
MSBuildExtensionsPathOutputDirectory=$(MSBuildExtensionsPathOutputDirectory)
Expand All @@ -49,7 +49,7 @@
<Properties>
ProjectWithProperties=dotnet_resolver.proj;
DependencyPackageName=Microsoft.DotNet.MSBuildSdkResolver;
DependencyPackageVersion=$(MicrosoftDotNetMSBuildSdkResolverPackageVersion);
DependencyPackageVersion=$(MicrosoftDotNetMSBuildSdkResolverVersion);
NuGetPackagesDir=$(NuGetPackagesDir);
DotnetSdkResolverDir=$(MSBuildSdkResolverOutDir)
</Properties>
Expand Down

0 comments on commit 0a55104

Please sign in to comment.