7digital / SevenDigital.Api.Wrapper

A fluent c# wrapper for the 7digital API
MIT License
16 stars 29 forks source link

Investigate way of tying github releases to nuget #217

Closed gregsochanik closed 9 years ago

gregsochanik commented 9 years ago

Here's what I want to achieve:

In order to:

Note - this is of course all open to comment. For example, should we use release notes that are tied to github? Is there a way of publishing the same release notes to nuget so we're not repeating ourselves? etc etc

gregsochanik commented 9 years ago

TC supports the concept of tags as branches so specific tags can be targeted Can specify current tag/release as build parameter specified as %ReleaseVersion% Can use out of the box nuget pack/publish to release to nuget

Once I've built a working prototype, I will add details accepted release instructions to the wiki

gregsochanik commented 9 years ago

Right, this works in principle and is very simple to use:

BUT

I have come across a couple of issues:

So actions to work on:

  1. Find out how to add custom properties to nuspec when building using TC Nuget Pack plugin
  2. Inspect powershell script to see why it's not outputting the "dry run" nupkg
gregsochanik commented 9 years ago

Right, this is proving a little tricky and taking too long so am going to stop. I may come back to it, but for now I'm going to just write step by step instructions on how to release to nuget within the wiki, by

gregsochanik commented 9 years ago

Instructions added here:

https://github.com/7digital/SevenDigital.Api.Wrapper/wiki/Releasing-to-nuget