Is it possible to only set environment viaribles when building an tag only?

seandhunt_7's Avatar


11 Dec, 2017 04:36 PM

So, on an repository I want to set 2 encrypted environement virables with my bitbucket username and bitbucket password to clone an private bitbucket repository only if building an tag for an draft release on my github repository, the private bitbucket repository containing private release only encryption keys. However what then I want AppVeyor to upload is somehow command line consturcted .iso and .isz files of the binaries. Yes I like Compressed CD Images because of the vastly small size in download and distribution plus they can mount the ISO's on their computers with programs like UltraISO or something so in general it is somewhat friendly on that. Not to mention they can easily burn it to an CD then.

  1. seandhunt_7 closed this discussion on 11 Dec, 2017 04:38 PM.

  2. seandhunt_7 re-opened this discussion on 11 Dec, 2017 04:38 PM

  3. Support Staff 1 Posted by Ilya Finkelshte... on 16 Dec, 2017 02:02 AM

    Ilya Finkelshteyn's Avatar

    Is question setting secure variables on tag only? If yes, there is no way to do that. Secure variables are being set in build configuration and will exist regardless if build tagged or not. You can simple not use them if build is not tagged.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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