From 8ee45638b4e74a99d909e010c06b96ac031e5b5d Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 29 Nov 2022 17:13:34 +0100 Subject: [PATCH] [release/7.0.1xx] [maestro] Subscribe to the .NET 6 channel to get bumps for our own .NET 6 packages for .NET 7. (#16904) We need the latest released version numbers for the previous .NET version so that we can reference and consume those when building projects using the corresponding target framework. Luckily we have a system for keeping dependencies up-to-date, so let's use it to notify the current branch for any updates to the release branch for the previous .NET version. --- Make.config | 10 ++++++---- Make.versions | 7 ------- eng/Version.Details.xml | 17 +++++++++++++++++ eng/Versions.props | 5 +++++ 4 files changed, 28 insertions(+), 11 deletions(-) diff --git a/Make.config b/Make.config index 48e6564097..639123af87 100644 --- a/Make.config +++ b/Make.config @@ -614,11 +614,17 @@ MONO_MACCATALYST_SDK_DESTDIR:=$(abspath $(MONO_PATH)/sdks/out) MONO_BUILD_MODE=compile-mono endif +# This variable includes all the platforms we support, even those that might be disabled in this build. +ALL_PLATFORMS=iOS tvOS watchOS macOS +ALL_DOTNET_PLATFORMS=iOS macOS tvOS MacCatalyst + -include $(TOP)/dotnet.config $(TOP)/dotnet.config: $(TOP)/eng/Versions.props $(Q) grep MicrosoftDotnetSdkInternalPackageVersion $(TOP)/eng/Versions.props | sed -e 's/<*\/*MicrosoftDotnetSdkInternalPackageVersion>//g' -e 's/[ \t]*/DOTNET_VERSION=/' >> $@.tmp $(Q) grep MicrosoftNETCoreAppRefPackageVersion $(TOP)/eng/Versions.props | sed -e 's/<*\/*MicrosoftNETCoreAppRefPackageVersion>//g' -e 's/[ \t]*/BUNDLED_NETCORE_PLATFORMS_PACKAGE_VERSION=/' >> $@.tmp $(Q) grep MicrosoftNETWorkloadEmscriptennet7Manifest70100PackageVersion $(TOP)/eng/Versions.props | sed -e 's/<*\/*MicrosoftNETWorkloadEmscriptennet7Manifest70100PackageVersion>//g' -e 's/[ \t]*/EMSCRIPTEN_MANIFEST_PACKAGE_VERSION=/' >> $@.tmp + $(Q) grep MicrosoftNETWorkloadEmscriptennet7Manifest70100PackageVersion $(TOP)/eng/Versions.props | sed -e 's/<*\/*MicrosoftNETWorkloadEmscriptennet7Manifest70100PackageVersion>//g' -e 's/[ \t]*/EMSCRIPTEN_MANIFEST_PACKAGE_VERSION=/' >> $@.tmp + $(Q) $(foreach platform,$(ALL_DOTNET_PLATFORMS),grep Microsoft$(platform)SdkPackageVersion $(TOP)/eng/Versions.props | sed -e 's/<*\/*Microsoft$(platform)SdkPackageVersion>//g' -e 's/[ \t]*/NET6_$(shell echo $(platform) | tr '[:lower:]' '[:upper:]')_NUGET_VERSION_NO_METADATA=/' >> $@.tmp &&) true $(Q) mv $@.tmp $@ DOTNET_DESTDIR ?= $(TOP)/_build @@ -684,10 +690,6 @@ DOTNET_TVOS_ASSEMBLY_NAME=Microsoft.tvOS DOTNET_MACCATALYST_ASSEMBLY_NAME=Microsoft.MacCatalyst DOTNET_MACOS_ASSEMBLY_NAME=Microsoft.macOS -# This variable includes all the platforms we support, even those that might be disabled in this build. -ALL_PLATFORMS=iOS tvOS watchOS macOS -ALL_DOTNET_PLATFORMS=iOS macOS tvOS MacCatalyst - DOTNET_PLATFORMS= ifdef INCLUDE_IOS DOTNET_PLATFORMS+=iOS diff --git a/Make.versions b/Make.versions index 54327df8bf..2c4a93a1ef 100644 --- a/Make.versions +++ b/Make.versions @@ -85,10 +85,3 @@ DEFAULT_TARGET_PLATFORM_VERSION_TVOS=16.1 DEFAULT_TARGET_PLATFORM_VERSION_WATCHOS=9.1 DEFAULT_TARGET_PLATFORM_VERSION_MACOS=13.0 DEFAULT_TARGET_PLATFORM_VERSION_MACCATALYST=16.1 - -# These variables must be updated whenever we release a new stable version into .NET 6 -NET6_IOS_NUGET_VERSION_NO_METADATA=16.1.228 -NET6_TVOS_NUGET_VERSION_NO_METADATA=16.1.228 -NET6_WATCHOS_NUGET_VERSION_NO_METADATA=8.5.447 -NET6_MACOS_NUGET_VERSION_NO_METADATA=13.0.783 -NET6_MACCATALYST_NUGET_VERSION_NO_METADATA=16.1.228 diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2bf2b89bc2..980c9c341f 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -21,6 +21,23 @@ https://github.com/dotnet/emsdk 73eb13444bdee019ec91191f96fd866661acbc78 + + + https://github.com/xamarin/xamarin-macios + bb0d6837dc6025cea163315ae47054b64a505205 + + + https://github.com/xamarin/xamarin-macios + bb0d6837dc6025cea163315ae47054b64a505205 + + + https://github.com/xamarin/xamarin-macios + bb0d6837dc6025cea163315ae47054b64a505205 + + + https://github.com/xamarin/xamarin-macios + bb0d6837dc6025cea163315ae47054b64a505205 + diff --git a/eng/Versions.props b/eng/Versions.props index 4deda4af22..73d7d10f8a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -8,5 +8,10 @@ 7.0.1 7.0.1 7.0.100-alpha.1.21601.1 + + 16.1.228 + 13.0.783 + 16.1.228 + 16.1.228