Skip to content

Commit

Permalink
Release version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mangel committed Nov 5, 2019
1 parent ead2712 commit ce42a7e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 86 deletions.
6 changes: 6 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"commands": [
"fake"
]
},
"paket": {
"version": "5.231.0",
"commands": [
"paket"
]
}
}
}
Binary file removed .paket/paket.exe
Binary file not shown.
6 changes: 0 additions & 6 deletions .paket/paket.exe.config

This file was deleted.

72 changes: 0 additions & 72 deletions .paket/paket.targets

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

## 3.0.0

* Remove setStatusCode and update comments (by @MaxDeg)

## 2.3.0

### Added
Expand Down
20 changes: 13 additions & 7 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,23 @@ let pushNuget (newVersion: string) (projFile: string) =

let projDir = Path.GetDirectoryName(projFile)

let files =
let file =
Directory.GetFiles(projDir </> "bin" </> "Release", "*.nupkg")
|> Array.find (fun nupkg -> nupkg.Contains(newVersion))
|> fun x -> [x]

if needsPublishing then
Paket.pushFiles (fun o ->
{ o with ApiKey = nugetKey
PublishUrl = "https://www.nuget.org/api/v2/package"
WorkingDir = __SOURCE_DIRECTORY__ })
files
run
"dotnet"
root
[
"paket"
"push"
"--url"
"https://www.nuget.org/api/v2/package"
"--api-key"
nugetKey
file
]

let versionRegex = Regex("^## ?\\[?v?([\\w\\d.-]+\\.[\\w\\d.-]+[a-zA-Z0-9])\\]?", RegexOptions.IgnoreCase)

Expand Down
2 changes: 1 addition & 1 deletion src/Thoth.Json.Giraffe.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<RepositoryUrl>https://github.com/MangelMaxime/Thoth</RepositoryUrl>
<PackageTags>fsharp;json;Giraffe;ASP.NET;Core</PackageTags>
<Authors>Maxime Mangel</Authors>
<Version>2.3.0</Version>
<Version>3.0.0</Version>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Expand Down

0 comments on commit ce42a7e

Please sign in to comment.