Skip to content

Commit

Permalink
Release 3.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsogarciacaro committed May 14, 2021
1 parent 13484a2 commit 602ffb4
Show file tree
Hide file tree
Showing 10 changed files with 1,523 additions and 29 deletions.
1,497 changes: 1,488 additions & 9 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Fable.AST/Fable.AST.fsproj
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>3.1.0</Version>
<PackageVersion>3.1.0</PackageVersion>
<Version>3.1.1</Version>
<PackageVersion>3.1.1</PackageVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="Common.fs" />
Expand Down
4 changes: 4 additions & 0 deletions src/Fable.AST/RELEASE_NOTES.md
@@ -1,3 +1,7 @@
### 3.1.1

* Publish with icon and symbols @cartermp

### 3.1.0

* Add GetOutputPath to PluginHelper
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Cli/Contributors.fs
Expand Up @@ -38,7 +38,7 @@ let getRandom() =
"forki"; "ncave"; "alfonsogarciacaro"
"do-wa"; "jwosty"; "mlaily";
"delneg"; "GordonBGood"; "Booksbaum";
"NickDarvey"; "thinkbeforecoding"
"NickDarvey"; "thinkbeforecoding"; "cartermp";
|]
Array.length contributors
|> System.Random().Next
Expand Down
4 changes: 2 additions & 2 deletions src/Fable.Cli/Fable.Cli.fsproj
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>3.1.15</Version>
<PackageVersion>3.1.15</PackageVersion>
<Version>3.1.16</Version>
<PackageVersion>3.1.16</PackageVersion>
<!-- Allow users with newer dotnet SDK to run Fable, see #1910 -->
<RollForward>Major</RollForward>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
Expand Down
4 changes: 4 additions & 0 deletions src/Fable.Cli/RELEASE_NOTES.md
@@ -1,3 +1,7 @@
### 3.1.16

* Publish with icon and symbols @cartermp

### 3.1.15

* Add a --sourceMapsRoot CLI option to set source maps sourceRoot @mlaily
Expand Down
4 changes: 2 additions & 2 deletions src/Fable.Core/Fable.Core.fsproj
Expand Up @@ -4,8 +4,8 @@
<Description>Fable Core Library</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>3.2.6</Version>
<PackageVersion>3.2.6</PackageVersion>
<Version>3.2.7</Version>
<PackageVersion>3.2.7</PackageVersion>
</PropertyGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
Expand Down
4 changes: 4 additions & 0 deletions src/Fable.Core/RELEASE_NOTES.md
@@ -1,3 +1,7 @@
### 3.2.7

* Publish with icon and symbols @cartermp

### 3.2.6

* Experimental `casenameWithFieldIndex`
Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Transforms/Global/Compiler.fs
@@ -1,7 +1,7 @@
namespace Fable

module Literals =
let [<Literal>] VERSION = "3.1.15"
let [<Literal>] VERSION = "3.1.16"

type CompilerOptionsHelper =
static member DefaultExtension = ".fs.js"
Expand Down
27 changes: 15 additions & 12 deletions src/fable-publish-utils/PublishUtils.fs
Expand Up @@ -585,20 +585,23 @@ module Publish =
| Some x -> x
| None -> failwithf "Cannot find .nupgk for %s" projDir

let snupkg =
IO.Directory.GetFiles(tempDir)
|> Seq.tryPick (fun path ->
if path.EndsWith(".snupkg")
then Some(tempDir </> path)
else None)
|> function
| Some x -> x
| None -> failwithf "Cannot find .snupgk for %s" projDir

runList ["dotnet nuget push"; nupkg; "-s nuget.org -k"; nugetKey]

// Publish snupkg after the nupkg, since you need to already have a corresponding nupkg to match the symbols against
runList ["dotnet nuget push"; snupkg; "-s nuget.org -k"; nugetKey]
// Looks like the `nuget push` command automatically detects the .snupkg symbols
// so the command below is not necessary

// let snupkg =
// IO.Directory.GetFiles(tempDir)
// |> Seq.tryPick (fun path ->
// if path.EndsWith(".snupkg")
// then Some(tempDir </> path)
// else None)
// |> function
// | Some x -> x
// | None -> failwithf "Cannot find .snupgk for %s" projDir

// runList ["dotnet nuget push"; snupkg; "-s nuget.org -k"; nugetKey]

removeDirRecursive tempDir
with _ ->
filenameWithoutExtension projFile
Expand Down

0 comments on commit 602ffb4

Please sign in to comment.