yml build 'release' only with master branch and build 'debug' with other branches

Jared Barneck's Avatar

Jared Barneck

31 Jan, 2020 12:33 AM

I have the following AppVeyor file.
https://github.com/rhyous/StringLibrary/blob/master/appveyor.yml

How do I make it so builds from 'master' branch build 'release' while builds from any other branch or a pull request build 'debug'?

I tried to

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Jan, 2020 09:37 PM

    Feodor Fitsner's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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