APPVEYOR_REPO_TAG_NAME variable is not set to pushed tag

Steph H's Avatar

Steph H

06 Jun, 2016 10:44 AM

I've set my Appveyor build to release to GitHub when I push a new tag, and I've set the release variable to $APPVEYOR_REPO_TAG_NAME. But this seems to be set to the same value as the "Build version format" in my repo config, i.e. 1.0.{build}. This also results in a new tag being pushed to GitHub, which triggers a new Appveyor build, in an infinite loop.

Am I doing something wrong here? I just want to ensure that deploys either create a new GitHub release with my specified tag name, or update an existing release with new artifacts if Travis CI finishes first.

  1. 1 Posted by Steph H on 06 Jun, 2016 01:55 PM

    Steph H's Avatar
  2. Support Staff 2 Posted by Feodor Fitsner on 06 Jun, 2016 10:59 PM

    Feodor Fitsner's Avatar
  3. 3 Posted by Steph H on 07 Jun, 2016 10:12 AM

    Steph H's Avatar

    Thanks Feodor, the branch regex fixed it. I had added the top-level appveyor_repo_tag: true directive because I wasn't sure where it was failing.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:24 AM.

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