Skip to content

Commit

Permalink
guard against empty artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Byrd committed Jun 22, 2018
1 parent a748a69 commit 2b24412
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -1114,8 +1114,9 @@ Target.create "DotNetCoreCreateDebianPackage" (fun _ ->
if result.OK |> not then
failwith "Debian package creation failed"

[(sprintf "src/app/Fake.netcore/bin/Release/%s/%s/fake.%s.%s.deb" targetFramework runtime release.NugetVersion runtime)]
|> Shell.copy artifactsDir
if fromArtifacts then
[(sprintf "src/app/Fake.netcore/bin/Release/%s/%s/fake.%s.%s.deb" targetFramework runtime release.NugetVersion runtime)]
|> Shell.copy artifactsDir

)

Expand Down

0 comments on commit 2b24412

Please sign in to comment.