I've a git repository with a master, development, and a couple of feature branches. During the build, a couple of nuget packages are created. I have setup my teamcity build server such that on every commit on any branch a build is triggered for that branch. My issue is that I want nuget packages be published to the teamcity nuget server, but only for the development branch. That is, I only want the nuget packages from the development branch to be published to the nuget server, not the nuget packages created during a feature branch build.
I've been experimenting with snapshot and artifact dependencies but both have different limitations making it hard to accomplish what I want. What would be the best way to set this up in teamcity?
Thanks in advance for your help.