-
Notifications
You must be signed in to change notification settings - Fork 14
Building the Nuget Package
Rob Lang edited this page Feb 16, 2017
·
13 revisions
These instructions are for building the nuget package.
- Merge down pull requests and feature branches to the dev branch.
- Open
./NJsonApiCore.Web.MVC5.HelloWorld.sln
- Update nuget packages
- Update the version number in all the
AssemblyInfo.cs
- Select Release Build and build all. Close solution.
- Open
./NJsonApiCore.Web.MVCCore.HelloWorld.sln
- Update nuget packages
- Update the version number in all the
AssemblyInfo.cs
. The Core HelloWorld project doesn't have one. - Run the unit tests, ensure they pass and fix any failures.
- Select Release Build and build all.
- Close solution.
- Open
./Package.nuspec
- Update the version number
- Update Release note
- Ensure that the reference nuget packages are the same as the ones as used in the two solutions
- Open a command line
- At the project root type
nuget pack package.nuspec
- Login to nuget.org and get your API Key
- In command line type
nuget push NJsonApiCore.<version here>.nupkg <your key here>
- In GitHub, create a Release with a link to the milestone.
- Merge from
dev
down tomaster
- Create a Release using the
master
branch and the version number as the tag. - Create a new Milestone (if there isn't one)
- Close old milestone