GitHub deploy with condition "branch: master"

gilles.degottex's Avatar


03 Sep, 2015 07:35 PM

It is written:
    branch: master
    appveyor_repo_tag: true

But it seems that the branch condition expect that the branch is equal to the current tag. Otherwise an error is raised (Skip "GitHub" deployment as no branches matched (build branch is "v1.1.26", deploy on branches "master")

This might be possible if a branch is built based on a tag, but otherwise, it is fairly rare, and never happens without branching.

Anyway, I might have missed another point of course.
I had to remove "branch: master" to make the deployment work.

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Sep, 2015 08:54 PM

    Feodor Fitsner's Avatar

    You can also specify branch as regular expression, kind of:

      branch: /v\d+\.\d+\.\d+/
  2. 2 Posted by gilles.degottex on 03 Sep, 2015 08:57 PM

    gilles.degottex's Avatar

    Oh ! Great.
    I was trying $(appveyor_repo_tag_name) but is wasn't working.

  3. gilles.degottex closed this discussion on 04 Sep, 2015 01:07 PM.

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