Conditional deployment does not work for NuGet provider

Alex Tercete's Avatar

Alex Tercete

17 Jul, 2014 05:18 PM

I'm trying to configure AppVeyor to deploy NuGet packages based on the value of an environment variable. I've followed the docs, and configured appveyor.yml as such:

deploy:
  - provider: NuGet
    server: https://www.myget.org/F/vtexlab/
    api_key:
      secure: MY_SECURE_API_KEY
    on:
      release_tag: true

The issue is that the deployment is happening regardless of the value of the release_tag environment variable. For the record, I haven't even set the value to anything yet.

Any ideas of what could be happening?

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Jul, 2014 05:34 PM

    Feodor Fitsner's Avatar

    Hi Alex,

    I will take a look if there are any issues.

  2. Support Staff 2 Posted by Feodor Fitsner on 17 Jul, 2014 05:53 PM

    Feodor Fitsner's Avatar

    OK, there was a bug. I've checked-in a fix - will deploy tomorrow. Thanks for reporting this.

  3. 3 Posted by Alex Tercete on 17 Jul, 2014 06:25 PM

    Alex Tercete's Avatar

    Great! I'm looking forward to this. Thanks!

  4. Support Staff 4 Posted by Feodor Fitsner on 19 Jul, 2014 03:25 PM

    Feodor Fitsner's Avatar

    We've just deployed an update fixing that issue. Give it another try.

  5. 5 Posted by Alex Tercete on 21 Jul, 2014 05:36 PM

    Alex Tercete's Avatar

    It's working now! Thanks!

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