Nuget by branch
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?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 21 May, 2015 01:22 AM
You can use script for pushing NuGet packages artifacts (http://www.appveyor.com/docs/build-worker-api#push-artifact) and check for branch name.
- Feodor
2 Posted by william.j.davis... on 21 May, 2015 01:48 AM
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?
Support Staff 3 Posted by Feodor Fitsner on 21 May, 2015 03:51 AM
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 Posted by william.j.davis... on 21 May, 2015 02:40 PM
Ok thank you for clarifying.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.