From 9129f5abb078d353c4b9fb9b2dea238e69ebd77d Mon Sep 17 00:00:00 2001 From: "Matt Mitchell (.NET)" Date: Wed, 18 Jun 2025 14:09:49 -0700 Subject: [PATCH 1/8] Include FSharp pre-release packages in the SDK transport package - Enable the SDK to publish the stable-preview packages - Add a pre-release iteration so that previews can be differentiated. - Remove the version substitution in the shims project. There was no replacement happening. --- eng/Versions.props | 3 ++- src/FSharp.Build/FSharp.Build.fsproj | 6 ++++++ .../Microsoft.FSharp.Compiler.fsproj | 2 ++ .../Microsoft.FSharp.Compiler.nuspec | 3 +++ vsintegration/shims/shims.csproj | 7 +------ 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 34e62fdd415..4302af0f778 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -10,6 +10,7 @@ beta + 1 10 @@ -40,7 +41,7 @@ 9.0.300 - $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).* + $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration).* 14 diff --git a/src/FSharp.Build/FSharp.Build.fsproj b/src/FSharp.Build/FSharp.Build.fsproj index 8f2fd4f5951..11379797295 100644 --- a/src/FSharp.Build/FSharp.Build.fsproj +++ b/src/FSharp.Build/FSharp.Build.fsproj @@ -67,6 +67,12 @@ {{FSCorePackageVersionValue}} $(FSCorePackageVersionValue)-$(VersionSuffix) + + Microsoft.FSharp.Core.NetSdk.props + Prerelease\ + {{FSCorePackageVersionValue}} + $(FSCorePackageVersionValue)-$(_PreReleaseLabel).final + diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj index 6acddc6b86a..13570594568 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj @@ -79,6 +79,8 @@ + + diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec index 4322ee7d965..00b74c1cbcb 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec @@ -60,11 +60,14 @@ + + + diff --git a/vsintegration/shims/shims.csproj b/vsintegration/shims/shims.csproj index 9156bdecadc..312acec084e 100644 --- a/vsintegration/shims/shims.csproj +++ b/vsintegration/shims/shims.csproj @@ -10,12 +10,7 @@ - - - Microsoft.FSharp.ShimHelpers.props - {{FSharpCorePreviewPackageVersionValue}} - $(FSharpCorePreviewPackageVersionValue) - + From 8b792ac1f35176915f92c7c723c2f245804c4f1e Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Thu, 19 Jun 2025 07:15:51 -0700 Subject: [PATCH 2/8] Update src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec Co-authored-by: Tomas Grosup --- src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec index 00b74c1cbcb..e2041b74127 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec @@ -64,7 +64,7 @@ - + From 4ef4fdb6879326cdb82973502db2166662655d1e Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Thu, 19 Jun 2025 07:15:57 -0700 Subject: [PATCH 3/8] Update src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec Co-authored-by: Tomas Grosup --- src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec index e2041b74127..79c86da4529 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec @@ -60,7 +60,7 @@ - + From 46d8932544a89e4471f53522f7c3598b4fb1cdb0 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Thu, 19 Jun 2025 07:16:03 -0700 Subject: [PATCH 4/8] Update src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj Co-authored-by: Tomas Grosup --- src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj index 13570594568..0323b00ea92 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj @@ -80,7 +80,7 @@ - + From 7eb5f2496afe2893059dd75a39e3e3bf4881ae21 Mon Sep 17 00:00:00 2001 From: "Matt Mitchell (.NET)" Date: Thu, 19 Jun 2025 07:20:33 -0700 Subject: [PATCH 5/8] Prerelease->PreRelease --- src/FSharp.Build/FSharp.Build.fsproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Build/FSharp.Build.fsproj b/src/FSharp.Build/FSharp.Build.fsproj index 11379797295..b689f90f1a8 100644 --- a/src/FSharp.Build/FSharp.Build.fsproj +++ b/src/FSharp.Build/FSharp.Build.fsproj @@ -69,7 +69,7 @@ Microsoft.FSharp.Core.NetSdk.props - Prerelease\ + PreRelease\ {{FSCorePackageVersionValue}} $(FSCorePackageVersionValue)-$(_PreReleaseLabel).final From b3ba5a89ede16cf8d140c2f671b6bb2de5f7b238 Mon Sep 17 00:00:00 2001 From: "Matt Mitchell (.NET)" Date: Thu, 19 Jun 2025 11:58:58 -0700 Subject: [PATCH 6/8] Add pre-release iteration to the end of the pre-release label --- eng/Versions.props | 6 ++++-- src/Compiler/FSharp.Compiler.Service.fsproj | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 4302af0f778..6cdb02ee03b 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -9,8 +9,10 @@ - beta - 1 + + 6 + preview$(FSharpPreReleaseIteration) 10 diff --git a/src/Compiler/FSharp.Compiler.Service.fsproj b/src/Compiler/FSharp.Compiler.Service.fsproj index 3953da89448..5db9b2e1b29 100644 --- a/src/Compiler/FSharp.Compiler.Service.fsproj +++ b/src/Compiler/FSharp.Compiler.Service.fsproj @@ -55,7 +55,6 @@ The F# Compiler Services package for F# $(FSLanguageVersion) exposes additional functionality for implementing F# language bindings, additional tools based on the compiler or refactoring tools. The package also includes F# interactive service that can be used for embedding F# scripting into your applications. Contains code from the F# Software Foundation. /blob/main/docs/release-notes/.FSharp.Compiler.Service/$(FSharpLibrariesChangelogVersion).md F#, fsharp, interactive, compiler, editor - preview $(MSBuildThisFileDirectory)logo.png From c2e6483f016ca46dec3f9aa72998f8d31b132139 Mon Sep 17 00:00:00 2001 From: "Matt Mitchell (.NET)" Date: Thu, 19 Jun 2025 12:00:17 -0700 Subject: [PATCH 7/8] Add pre-release iteration to the end of the pre-release label --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index 6cdb02ee03b..ba5bbcf331f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -43,7 +43,7 @@ 9.0.300 - $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration).* + $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).$(FSharpPreReleaseIteration).* 14 From d5c39d13819281d3ec80e90763fe834f3e57d336 Mon Sep 17 00:00:00 2001 From: "Matt Mitchell (.NET)" Date: Mon, 23 Jun 2025 09:55:31 -0700 Subject: [PATCH 8/8] Fixup package version value --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index ba5bbcf331f..c185f005329 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -43,7 +43,7 @@ 9.0.300 - $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).$(FSharpPreReleaseIteration).* + $(FSCorePackageVersionValue)-$(PreReleaseVersionLabel).* 14