Skip to content

Commit

Permalink
Remove assets uploading from FAKE process it doesn't seem to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mangel committed Jun 7, 2019
1 parent 43e63e4 commit 8688e38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,8 @@ Target.create "Release" (fun _ ->
| s when not (System.String.IsNullOrWhiteSpace s) -> s
| _ -> failwith "The Github token must be set in a GITHUB_TOKEN environmental variable"

let nupkg =
Directory.GetFiles(root </> "temp", "*.nupkg")
|> Array.find (fun nupkg -> nupkg.Contains(version))

GitHub.createClientWithToken token
|> GitHub.draftNewRelease gitOwner repoName version (isPreRelease version) (getNotes version)
|> GitHub.uploadFile nupkg
|> GitHub.publishDraft
|> Async.RunSynchronously
)
Expand Down

0 comments on commit 8688e38

Please sign in to comment.