NuGet publishing broken

Travis Weir's Avatar

Travis Weir

Jun 07, 2019 @ 03:33 AM

I have followed all of the steps to set up https://ci.appveyor.com/project/tweirtx/tba-api-client-csharp correctly for publishing to NuGet, however every time I attempt to have it push to NuGet it simply says "No packages were pushed" without further information as to why it wasn't pushed.

  1. Support Staff 1 Posted by Owen McDonnell on Jun 07, 2019 @ 03:53 PM

    Owen McDonnell's Avatar

    First you need to push and name the artifact with an artifacts: section in your config file.
    Something like.

      artifacts:
        - path: 'TBAAPIv3client.3.4.1.nupkg'
          name: TBAAPIv3client.3.4.1
    

    Then you can use the name under the artifact key of deployment settings.

  2. 2 Posted by Travis Weir on Jun 07, 2019 @ 07:18 PM

    Travis Weir's Avatar

    That's confusing, but now it seems to be working. Thanks!

  3. Owen McDonnell closed this discussion on Jun 07, 2019 @ 10:33 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