cobnitional build question
So I have yml, I want build: section to conditionalize on debug versus release build. Basically - deploy on release - not debug build.
my syntax is way wrong:
build:
project: src/%slnname%.sln
- Release
publish_nuget: true
- Debug
publish_nuget: false
verbosity: normal
Help a newbie out?
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

1 Posted by John Deemar on 13 Apr, 2020 10:53 PM
configuration:
- Debug
- Release
Support Staff 2 Posted by Feodor Fitsner on 14 Apr, 2020 01:57 AM
Hi John,
This is what you need: https://www.appveyor.com/docs/build-configuration/#specializing-mat...
For your specific case you can try the following:
Feodor Fitsner closed this discussion on 14 Jun, 2020 09:02 PM.