Nuget by branch

william.j.davis5's Avatar


21 May, 2015 01:05 AM

Is there anyway to configure the Yaml file to not push nuget artifacts when the build is from a branch other than master? My nuget feed is getting littered with tons of versions from Development branch compiles. Or is there anyway to mark these as pre-release?

  1. Support Staff 1 Posted by Feodor Fitsner on 21 May, 2015 01:22 AM

    Feodor Fitsner's Avatar

    You can use script for pushing NuGet packages artifacts ( and check for branch name.

    - Feodor

  2. 2 Posted by william.j.davis... on 21 May, 2015 01:48 AM

    william.j.davis5's Avatar

    Thanks Feodor,

    So if I opt to script it, that means I also have to script in the nuget pack command right? There isnt a way for me to have the builder process the pack and then me handle the result?

  3. Support Staff 3 Posted by Feodor Fitsner on 21 May, 2015 03:51 AM

    Feodor Fitsner's Avatar

    I see. Yeah, seems like you should build nuget package in script too as you don't have a path to automatically built package.

  4. 4 Posted by william.j.davis... on 21 May, 2015 02:40 PM

    william.j.davis5's Avatar

    Ok thank you for clarifying.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac