Skip to content

Commit

Permalink
Fix console app dist glob
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Byrd committed May 20, 2019
1 parent b16dac3 commit d040a1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Content/Console/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ let srcAndTest =
++ testsGlob

let distDir = __SOURCE_DIRECTORY__ @@ "dist"
let distGlob = distDir @@ "*.nupkg"
let toolsDir = __SOURCE_DIRECTORY__ @@ "tools"
let distGlob =
!! (distDir @@ "*.zip")
++ (distDir @@ "*.tgz")
++ (distDir @@ "*.tar.gz")

let toolsDir = __SOURCE_DIRECTORY__ @@ "tools"

let coverageThresholdPercent = 1
let coverageReportDir = __SOURCE_DIRECTORY__ @@ "docs" @@ "coverage"
Expand Down Expand Up @@ -328,7 +331,7 @@ let githubRelease _ =
| s when not (String.IsNullOrWhiteSpace s) -> s
| _ -> failwith "please set the github_token environment variable to a github personal access token with repro access."

let files = !! distGlob
let files = distGlob

GitHub.createClientWithToken token
|> GitHub.draftNewRelease gitOwner gitRepoName releaseNotes.NugetVersion (releaseNotes.SemVer.PreRelease <> None) releaseNotes.Notes
Expand Down

0 comments on commit d040a1a

Please sign in to comment.