Skip to content

Commit

Permalink
Release version 2.0.0-beta-001
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mangel committed Nov 7, 2019
1 parent e1be6b9 commit 154f14f
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 @@ -214,11 +214,11 @@ Target.create "Release" (fun _ ->
| s when not (String.IsNullOrWhiteSpace s) -> s
| _ -> failwith "The Github token must be set in a GITHUB_TOKEN environmental variable"

let nupkg =
let projDir = Path.GetDirectoryName(projectFile)
// let nupkg =
// let projDir = Path.GetDirectoryName(projectFile)

Directory.GetFiles(projDir </> "bin" </> "Release", "*.nupkg")
|> Array.find (fun nupkg -> nupkg.Contains(version))
// Directory.GetFiles(projDir </> "bin" </> "Release", "*.nupkg")
// |> Array.find (fun nupkg -> nupkg.Contains(version))

GitHub.createClientWithToken token
|> GitHub.draftNewRelease gitOwner repoName version (isPreRelease version) (getNotes version)
Expand Down

0 comments on commit 154f14f

Please sign in to comment.