From 47f7cbdfc80156264be437b34084c746b018ad63 Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Sun, 19 Nov 2023 22:35:16 +0100 Subject: [PATCH] Use an arbitrary big version number for local packages. If we try to use the last published version `.NET` complains that `4.5.0` is actually older that `4.5.0-local-build-...` --- src/Fable.Build/Package.fs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Fable.Build/Package.fs b/src/Fable.Build/Package.fs index 6d8f43ccbd..cf02c45520 100644 --- a/src/Fable.Build/Package.fs +++ b/src/Fable.Build/Package.fs @@ -22,11 +22,8 @@ let handle (args: string list) = Directory.clean packageDestination - let fableCliVersionInfo = Changelog.getLastVersion Changelog.fableCLi - let fableCliVersion = - fableCliVersionInfo.Version.ToString() - + "-local-build-" + "900.0.0-local-build-" + DateTime.Now.ToString("yyyyMMdd-HHhmm") let compilerFsPath = @@ -53,11 +50,8 @@ let handle (args: string list) = // This avoid common error of comitting the modified file File.WriteAllText(compilerFsPath, compilerFsOriginalContent) - let fableCoreVersionInfo = Changelog.getLastVersion Changelog.fableCore - let fableCoreVersion = - fableCoreVersionInfo.Version.ToString() - + "-local-build-" + "900.0.0-local-build-" + DateTime.Now.ToString("yyyyMMdd-HHhmm") Command.Run(