diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0d40e24..eb7a3c9 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +### 3.12.1 - 2020-08-31 +* Remove NpgsqlFSharpAnalyzer.Core nuget package reference from the analyzer + ### 3.12.0 - 2020-08-29 * Parameter nullability inference for parsable queries * Detecting the missing columns which are required for INSERT queries diff --git a/build.fsx b/build.fsx index def63cb..0548c7e 100644 --- a/build.fsx +++ b/build.fsx @@ -255,6 +255,8 @@ let generateAssemblyInfo _ = ) let dotnetPack ctx = + Shell.cleanDir (__SOURCE_DIRECTORY__ "dist") + let args = [ "pack" @@ -280,6 +282,16 @@ let dotnetPack ctx = let publishPath = "src" "NpgsqlFSharpAnalyzer" "bin" "Release" "netcoreapp2.0" "publish" ZipFile.ExtractToDirectory(nupkg, nugetParent nugetFileName) + let nuspecFile = nugetParent nugetFileName "NpgsqlFSharpAnalyzer.nuspec" + // rewriteNuspec + nuspecFile + |> File.ReadAllLines + |> Array.choose (fun line -> + if line.Contains " fun content -> File.WriteAllLines(nuspecFile, content) + File.Delete nupkg Shell.deleteDir (nugetParent nugetFileName "lib" "netcoreapp2.0") Shell.copyDir (nugetParent nugetFileName "lib" "netcoreapp2.0") publishPath (fun _ -> true) @@ -319,6 +331,7 @@ Target.create "DotnetPack" dotnetPack Target.create "PublishToNuGet" publishToNuget Target.create "Release" ignore +Target.create "PackNoTests" dotnetPack //----------------------------------------------------------------------------- // Target Dependencies //----------------------------------------------------------------------------- diff --git a/src/FParsec/AssemblyInfo.fs b/src/FParsec/AssemblyInfo.fs index ff0dfc0..804c0cf 100644 --- a/src/FParsec/AssemblyInfo.fs +++ b/src/FParsec/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "FParsec" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338" diff --git a/src/NpgsqlFSharpAnalyzer.Core/AssemblyInfo.fs b/src/NpgsqlFSharpAnalyzer.Core/AssemblyInfo.fs index c093733..21ba409 100644 --- a/src/NpgsqlFSharpAnalyzer.Core/AssemblyInfo.fs +++ b/src/NpgsqlFSharpAnalyzer.Core/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "NpgsqlFSharpAnalyzer.Core" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338" diff --git a/src/NpgsqlFSharpAnalyzer/AssemblyInfo.fs b/src/NpgsqlFSharpAnalyzer/AssemblyInfo.fs index 58fd606..222875b 100644 --- a/src/NpgsqlFSharpAnalyzer/AssemblyInfo.fs +++ b/src/NpgsqlFSharpAnalyzer/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "NpgsqlFSharpAnalyzer" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338" diff --git a/src/NpgsqlFSharpParser/AssemblyInfo.fs b/src/NpgsqlFSharpParser/AssemblyInfo.fs index d1bc395..36b58ef 100644 --- a/src/NpgsqlFSharpParser/AssemblyInfo.fs +++ b/src/NpgsqlFSharpParser/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "NpgsqlFSharpParser" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338" diff --git a/src/NpgsqlFSharpVs/source.extension.vsixmanifest b/src/NpgsqlFSharpVs/source.extension.vsixmanifest index a036aa3..823a40a 100644 --- a/src/NpgsqlFSharpVs/source.extension.vsixmanifest +++ b/src/NpgsqlFSharpVs/source.extension.vsixmanifest @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> - + NpgsqlFSharpVs F# Analyzer for embedded SQL syntax analysis, type-checking for parameters and result sets and nullable column detection when writing queries using Npgsql.FSharp. https://github.com/Zaid-Ajaj/Npgsql.FSharp.Analyzer diff --git a/tests/NpgsqlFSharpAnalyzer.Tests/AssemblyInfo.fs b/tests/NpgsqlFSharpAnalyzer.Tests/AssemblyInfo.fs index 14769de..4565326 100644 --- a/tests/NpgsqlFSharpAnalyzer.Tests/AssemblyInfo.fs +++ b/tests/NpgsqlFSharpAnalyzer.Tests/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "NpgsqlFSharpAnalyzer.Tests" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338" diff --git a/tests/examples/hashing/AssemblyInfo.fs b/tests/examples/hashing/AssemblyInfo.fs index 884483b..61f3713 100644 --- a/tests/examples/hashing/AssemblyInfo.fs +++ b/tests/examples/hashing/AssemblyInfo.fs @@ -4,20 +4,20 @@ open System.Reflection [] [] -[] -[] -[] -[] +[] +[] +[] +[] [] -[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "examples" let [] AssemblyProduct = "NpgsqlFSharpAnalyzer" - let [] AssemblyVersion = "3.12.0" - let [] AssemblyMetadata_ReleaseDate = "2020-08-29T00:00:00.0000000" - let [] AssemblyFileVersion = "3.12.0" - let [] AssemblyInformationalVersion = "3.12.0" + let [] AssemblyVersion = "3.12.1" + let [] AssemblyMetadata_ReleaseDate = "2020-08-31T00:00:00.0000000" + let [] AssemblyFileVersion = "3.12.1" + let [] AssemblyInformationalVersion = "3.12.1" let [] AssemblyMetadata_ReleaseChannel = "release" - let [] AssemblyMetadata_GitHash = "fdb4e9da4d035afc38f1941a84adf621fd8c2574" + let [] AssemblyMetadata_GitHash = "b1592a80c9432a89e1edf34d5e8dbcb1e1f84338"