Generates and publishes the nuget package