I have a Github repository that I'd like to use as a source for my nuget package. Currently, I push both repositories separately:
1. git push origin master
2. nuget pack
and nuget push MyPackage.0.0.0.1.nupkg
BUT I'd like to be able to simply call git push origin master
Ideally, I'd use some kind of bridging/service hook that would up the nuget version and do the pushing automatically using the git source.
Does anyone know of a good bridging mechanism for this kind of thing?
You could use MyGet's Build Services (that I helped co-found) for that and link your GitHub repository to your feed. This allows you to have each check-in being built and a package being pushed on your CI feed. From there, you could use the push upstream feature to push it to NuGet.org (or any other feed).
Check this blog post for more information: http://blog.myget.org/post/2012/12/17/Add-packages-from-GitHub-BitBucket-and-CodePlex-using-MyGet-build-services.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With