Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(NuGet): Support NuGet GitHub Packages #18

Merged
merged 2 commits into from
Dec 23, 2020

Conversation

jsteinich
Copy link
Contributor

@jsteinich jsteinich commented Dec 19, 2020

Two changes required.

  1. Configurable nuget_source through NUGET_SERVER env var. Defaults to nuget.org
  2. Use --skip-duplicate option. Could also add additional error string checks, but seems better to use built-in support for ignoring conflicts. Expand existing conflict check to work for GitHub. skip-duplicate seemed to work on nuget.org for the main package, but didn't work correctly for the symbols package.

I have tested new and conflict states on GitHub and nuget.org. Also using the package in a project.

@jsteinich jsteinich marked this pull request as ready for review December 19, 2020 20:00
@eladb
Copy link
Contributor

eladb commented Dec 23, 2020

Looks good. Lmk when ready

@jsteinich
Copy link
Contributor Author

Looks good. Lmk when ready

@eladb Everything should be good to go. I've tested both GitHub and nuget.org. Also tried using the published packages in a project.

Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eladb eladb merged commit f3ed13c into cdklabs:master Dec 23, 2020
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.

2 participants