Trying to set the build to the current tag version of the Github repository

laurent.bernabe's Avatar


14 Jul, 2020 02:47 PM

I am trying to set the pushed artifact to the latest tag name on Github. For now, I am using :

  description: 'ChessPgnReviser'
  artifact: chesspgnreviser
  provider: GitHub
  skip_clean: true
    branch: master

Furthermore, the build restarts once finished.

The script is attached to this message.

  1. Support Staff 1 Posted by Feodor Fitsner on 14 Jul, 2020 04:18 PM

    Feodor Fitsner's Avatar

    Add this to appveyor.yml:

    skip_tags: true
  2. 2 Posted by laurent.bernabe on 14 Jul, 2020 05:17 PM

    laurent.bernabe's Avatar

    Thank you. But I still have the same issue.
    I've joined the log and the updated script files.

    Is my syntax "tag: ${APPVEYOR_REPO_TAG_NAME}" correct ?

  3. 3 Posted by laurent.bernabe on 14 Jul, 2020 07:25 PM

    laurent.bernabe's Avatar

    Solved by restricting builds to tags (skip_non_tags: true). Also removing "branch: master" requirement.
    And by creating a new lightweight tag, of course.

  4. laurent.bernabe closed this discussion on 14 Jul, 2020 07:26 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