Skip to content

Commit

Permalink
build copyright fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikja163 committed Mar 19, 2020
1 parent ed3567d commit 7f2685e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ let description =

let tags = "OpenTK OpenGL OpenGLES GLES OpenAL C# F# .NET Mono Vector Math Game Graphics Sound"

let copyright = "Copyright (c) 2006 - 2019 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library."
let copyright = "Copyright (c) 2006 - 2020 Stefanos Apostolopoulos <stapostol@gmail.com> for the Open Toolkit library."

let solutionFile = "OpenTK.sln"

Expand Down Expand Up @@ -326,13 +326,13 @@ Target.create "ReleaseOnGitHub" (fun _ ->
|> GitHub.publishDraft
|> Async.RunSynchronously)

Target.create "ReleaseOnNuGetGallery" (fun _ ->
Target.create "ReleaseOnNuGet" (fun _ ->
let apiKey =
match Environment.environVarOrDefault "opentk_nuget_api_key" "" with
| s when not (System.String.IsNullOrWhiteSpace s) -> s
| _ -> failwith "please set the nuget_api_key environment variable to a nuget access token."

!!"bin/*.nupkg"
!! (nugetDir </> "*.nupkg")
|> Seq.iter
(DotNet.nugetPush (fun opts ->
{ opts with
Expand Down Expand Up @@ -362,7 +362,7 @@ open Fake.Core.TargetOperators
==> "All"
==> "CreateNuGetPackage"
==> "CreateMetaPackage"
==> "ReleaseOnNuGetGallery"
==> "ReleaseOnNuGet"
==> "ReleaseOnGithub"
==> "ReleaseOnAll"

Expand Down

0 comments on commit 7f2685e

Please sign in to comment.