Expose tag description through environment variables

cyclotis04's Avatar

cyclotis04

02 Oct, 2014 03:29 PM

I am using Appveyor to automatically deploy a NuGet package when I tag my branch with new version tag in GitHub. I would love to have access to the tag's description, but don't see a way to do that currently. APPVEYOR_REPO_COMMIT_MESSAGE and APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED use the commit message and description of the latest commit, but no information from the actual tag itself. If it's exposed through Git, perhaps a BRANCH_DESCRIPTION or TAG_DESCRIPTION variable would be useful here?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Oct, 2014 03:47 PM

    Feodor Fitsner's Avatar

    You mean tag name?-Feodor

  2. 2 Posted by cyclotis04 on 02 Oct, 2014 03:58 PM

    cyclotis04's Avatar

    Sorry if I wasn't clear - I'm looking for the information entered on GitHub when creating a new "release" (tag). Specifically, I'm looking for the description being entered, though the title would be handy, too.

    I'm not very familiar with the differences between Git and GitHub, so I'm not sure if this is a GitHub-specific thing. If it is, it may be a lot harder to get access to, which would be unfortunate but understandable.

  3. Support Staff 3 Posted by Feodor Fitsner on 02 Oct, 2014 04:31 PM

    Feodor Fitsner's Avatar

    Interesting. Will take a look if it's something that could be pulled with API.

  4. 4 Posted by cyclotis04 on 02 Oct, 2014 05:42 PM

    cyclotis04's Avatar

    That would be great! Thanks for the quick response.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:48 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