Re-Build Commit on Tag Doesn't Work Right

James Ward's Avatar

James Ward

10 Dec, 2014 01:16 PM

When I select "Re-Build Commit" on a build with a tag, AppVeyor doesn't actually checkout the tag and set APPVEYOR_REPO_TAG and APPVEYOR_REPO_BRANCH like it does the first time it builds the tag.

  1. 1 Posted by James Ward on 10 Dec, 2014 02:57 PM

    James Ward's Avatar

    Actually it looks like this problem is not just on a re-build. On a fresh project I did this:

    $ git tag v0.0.2
    $ git push --tags 
    Total 0 (delta 0), reused 0 (delta 0)
     * [new tag]         v0.0.2 -> v0.0.2

    The output was:


    I expected APPVEYOR_REPO_BRANCH to be v0.0.2.

    Here is the build:

    Here is the source:

  2. Support Staff 2 Posted by Feodor Fitsner on 10 Dec, 2014 03:00 PM

    Feodor Fitsner's Avatar

    Hi James,

    There is a new variable APPVEYOR_REPO_TAG_NAME with tag name.

    I'm still updating the documentation.

  3. 3 Posted by James Ward on 10 Dec, 2014 03:37 PM

    James Ward's Avatar

    That was it! Thanks!

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

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