Skip to content

Commit 5072bff

Browse files
author
Don Syme
committed
update build
1 parent 43d863d commit 5072bff

8 files changed

Lines changed: 24 additions & 46 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Publish Docs
1+
name: Build and Publish
22
on:
33
push:
44
branches: [ master ]
@@ -7,10 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- name: Setup .NET
11-
uses: actions/setup-dotnet@v1
12-
with:
13-
dotnet-version: '3.1.x'
1410
- name: Setup .NET
1511
uses: actions/setup-dotnet@v1
1612
with:
@@ -29,8 +25,8 @@ jobs:
2925
- name: Examine bin
3026
run: ls -r bin
3127
- name: Publish NuGets (if this version not published before)
32-
run: dotnet nuget push bin\FSharp.Core.Fluent.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_TOKEN_2021 }} --skip-duplicate
28+
run: dotnet nuget push bin\FSharp.Control.AsyncSeq.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_TOKEN_2021 }} --skip-duplicate
3329

34-
# NUGET_ORG_TOKEN_2021 is listed in "Repository secrets" in https://github.com/fsprojects/FSharp.Core.Fluent/settings/secrets/actions
30+
# NUGET_ORG_TOKEN_2021 is listed in "Repository secrets" in https://github.com/fsprojects/FSharp.Control.AsyncSeq/settings/secrets/actions
3531
# note, the nuget org token expires around 24 July 2022
3632

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,12 @@ xunit*.html
198198

199199
# exclude artifacts folder
200200
artifacts/
201+
bin/
201202

202203
# jest/fable directories
203204
tests/fable/dist/
204205
tests/fable/node_modules/
205206
output/
206207
tmp/
207208
.fsdocs/
208-
build.fsx.lock
209+
build.fsx.lock

RELEASE_NOTES.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
### 3.0.5
3+
* Update publishing
4+
15
### 3.0.4
26
* Restore netstandard2.0 (and thereby .NET Framework 4.6.1+) compatibility
37
* Update build env versions to current recommendations
@@ -7,7 +11,7 @@
711

812
* Include .fsi files into Fable package path [#118](https://github.com/fsprojects/FSharp.Control.AsyncSeq/pull/118)
913

10-
### 3.0.1
14+
### 3.0.1
1115

1216
* Move to only netstandard 2.1
1317

@@ -96,9 +100,9 @@
96100
* Rename toArray to toArrayAsync
97101
* Rename zipWithIndexAsync to mapiAsync
98102
* Rename interleave to interleaveChoice
99-
* Add interleave
100-
* Add mergeChoice
101-
* Fix performance of mergeAll
103+
* Add interleave
104+
* Add mergeChoice
105+
* Fix performance of mergeAll
102106
* Add init, initInfinite
103107
* Add initAsync, initInfiniteAsync, replicateInfinite
104108
* Add RequireQualifiedAccess to AsyncSeq
@@ -110,12 +114,12 @@
110114
* Cancellable AsyncSeq.toBlockingSeq
111115
* Fix AsyncSeq.scanAsync to also return first state
112116
* Add a signature file
113-
* AsyncSeq got extracted as separate project and is now a dependency - https://github.com/fsprojects/FSharpx.Async/pull/24
117+
* AsyncSeq got extracted as separate project and is now a dependency - https://github.com/fsprojects/FSharpx.Async/pull/24
114118

115119
### 1.13 - 27.03.2015
116120
* Renamed to FSharp.Control.AsyncSeq
117121
* Remove surface area
118-
* Hide Nil/Cons from representation of AsyncSeq
122+
* Hide Nil/Cons from representation of AsyncSeq
119123

120124
### 1.12.1 - 27.03.2015
121125
* Added Async.bindChoice, Async.ParallelIgnore, AsyncSeq.zipWithAsync, AsyncSeq.zappAsync, AsyncSeq.threadStateAsync, AsyncSeq.merge, AsyncSeq.traverseOptionAsync, AsyncSeq.traverseChoiceAsync

appveyor.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

build.fsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ open Fake.Tools
2424
open System
2525
open System.IO
2626

27-
// --------------------------------------------------------------------------------------
28-
// START TODO: Provide project-specific details below
29-
// --------------------------------------------------------------------------------------
30-
3127
// The name of the project
3228
// (used by attributes in AssemblyInfo, name of a NuGet package and directory in 'src')
3329
let project = "src/FSharp.Control.AsyncSeq"
@@ -45,8 +41,8 @@ let projectRepo = "https://github.com/fsprojects/FSharp.Control.AsyncSeq"
4541

4642
let configuration = DotNet.BuildConfiguration.fromEnvironVarOrDefault "configuration" DotNet.BuildConfiguration.Release
4743

48-
// Folder to deposit deploy artifacts
49-
let artifactsDir = __SOURCE_DIRECTORY__ @@ "artifacts"
44+
// Folder to deposit deploy bin
45+
let binDir = __SOURCE_DIRECTORY__ @@ "bin"
5046

5147
// Read additional information from the release notes document
5248
let release = ReleaseNotes.load "RELEASE_NOTES.md"
@@ -64,7 +60,7 @@ let versionPropsTemplate = $"\
6460

6561
Target.create "Clean" (fun _ ->
6662
DotNet.exec id "clean" "" |> ignore
67-
Shell.cleanDirs ["artifacts"; "temp"]
63+
Shell.cleanDirs ["bin"; "temp"]
6864
)
6965

7066
// Generate assembly info files with the right version & up-to-date information
@@ -117,7 +113,7 @@ Target.create "Pack" (fun _ ->
117113
File.WriteAllText("version.props",versionPropsTemplate)
118114
DotNet.pack (fun pack ->
119115
{ pack with
120-
OutputPath = Some artifactsDir
116+
OutputPath = Some binDir
121117
Configuration = configuration
122118
}) solutionFile
123119
)
@@ -138,7 +134,7 @@ Target.create "All" ignore
138134
"Clean"
139135
==> "Build"
140136
==> "Test"
141-
==> "NuGet"
137+
==> "Pack"
142138
==> "All"
143139

144140
"Clean"

paket.dependencies

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nuget Microsoft.Bcl.AsyncInterfaces ~> 5.0.0 framework: netstandard2.0
99

1010
group Test
1111
source https://api.nuget.org/v3/index.json
12-
framework: netcoreapp3.1, net5.0
12+
framework: net5.0
1313
storage: none
1414

1515
generate_load_scripts: true
@@ -41,4 +41,4 @@ group Fake
4141
nuget Fake.DotNet.NuGet ~> 5.20.4
4242
nuget Fake.DotNet.MsBuild ~> 5.20.4
4343
nuget Fake.Tools.Git ~> 5.20.4
44-
nuget Fake.DotNet.Paket ~> 5.20.4
44+
nuget Fake.DotNet.Paket ~> 5.20.4

tests/FSharp.Control.AsyncSeq.Tests/FSharp.Control.AsyncSeq.Tests.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
3+
<TargetFrameworks>net5.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>

version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>3.0.4</Version>
3+
<Version>3.0.5</Version>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)