7digital / SevenDigital.Api.Wrapper

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

Automating packaging to nuget #67

Closed AnthonySteele closed 11 years ago

AnthonySteele commented 11 years ago

We want packaging and uploading the api wrapper to https://nuget.org/packages/SevenDigital.Api.Wrapper/ to be a one-click operation in Teamcity.

Currently I do the following steps

Thoughts on how to automate this - ruby? Powershell? Use a version number from teamCity?

Also, the nuget commandline and the 7digital account nuget api key will need to be on the machines that run this task.

AnthonySteele commented 11 years ago

I have made a powershell scrip that does this https://github.com/AnthonySteele/SevenDigital.Api.Wrapper/commit/31e4b5bb744b94a0c64a62cc626cfe9e69adb9e5

Unless someone else has some better code, can we go with this?

AnthonySteele commented 11 years ago

This is done and working. in the buildpackage folder, the script buildPackage.ps1 does the following: