Skip to content

dont publish .netcore temp nuget packages - #1911

Merged
forki merged 1 commit into
fsprojects:masterfrom
enricosada:push_only_merged_pkg
Sep 5, 2016
Merged

forki merged 1 commit into
fsprojects:masterfrom
enricosada:push_only_merged_pkg

Conversation

@enricosada

Copy link
Copy Markdown
Contributor

the PublishNuGet task now delete the temp dotnetcore nuget packages before paket push

tested locally and package list to publish is ok

        Could not push package e:\github\Paket\temp\Paket.PowerShell.3.19.0.nupkg due to missing credentials for the url https://nuget.org/api/v2/package. Please specify a NuGet API key via the command line, the environment variable "nugetkey", or by using 'paket config add-token'.
Paket failed with:
        Could not push package e:\github\Paket\temp\Paket.Core.3.19.0.nupkg due to missing credentials for the url https://nuget.org/api/v2/package. Please specify a NuGet API key via the command line, the environment variable "nugetkey", or by using 'paket config add-token'.
Paket version 3.19.0.0
Paket failed with:
        Could not push package e:\github\Paket\temp\Paket.3.19.0.nupkg due to missing credentials for the url https://nuget.org/api/v2/package. Please specify a NuGet API key via the command line, the environment variable "nugetkey", or by using 'paket config add-token'.

and temp/dotnetcore nuget pkg are deleted

@enricosada enricosada mentioned this pull request Sep 5, 2016
8 tasks done
@forki

forki commented Sep 5, 2016

Copy link
Copy Markdown
Member

.net restore failed. sigh

@forki
forki merged commit 1f78cf5 into fsprojects:master Sep 5, 2016
@matthid

matthid commented Sep 5, 2016

Copy link
Copy Markdown
Member

how is paket push behavior defined? does it randomly choose the first matching nupkg it finds?

I think it should have errored out in this case withou pushung anything...

@enricosada

enricosada commented Sep 5, 2016 •

Copy link
Copy Markdown
Contributor Author

@matthid i think fake just it tried to pushing all packages and nuget.org used last package.

let packages = !! (parameters.WorkingDir @@ "/**/*.nupkg") |> Seq.toList

maybe a safety check on names?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants