How to only publish .nupkg on github release

michaelehagar's Avatar

michaelehagar

Aug 28, 2018 @ 04:49 PM

I want to combine the deploy features of being able to upload an artifact on a github release and publish a nuget package. Is there a way to do this? The "NuGet" provider publishes a NuGet on every build that produced an artifact.

  1. Support Staff 1 Posted by Owen McDonnell on Aug 29, 2018 @ 12:47 AM

    Owen McDonnell's Avatar

    How are you currently creating github releases? By the creation of a tag?

  2. 2 Posted by michaelehagar on Aug 29, 2018 @ 03:43 PM

    michaelehagar's Avatar

    Yes, using

    on:
          appveyor_repo_tag: true

  3. Support Staff 3 Posted by Owen McDonnell on Aug 30, 2018 @ 05:50 AM

    Owen McDonnell's Avatar

    You can use the exact same condition statement in Nuget deployment provider.

  4. Ilya Finkelshteyn closed this discussion on Oct 30, 2018 @ 09:01 PM.

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