Publish Nuget package as prerelease to nuget.org

kimworking@gmail.com's Avatar

kimworking@gmail.com

27 Jan, 2015 05:31 PM

Is it possible to publish a package to nuget.org as prerelease? I couldn't find anyway to do this, I know I can use the project feed, but I would really like to be able to push the prerelease package to nuget.org.

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Jan, 2015 05:51 PM

    Feodor Fitsner's Avatar

    Isn't it like the same command line to push pre-release? I think the version should be in format a.b.c-something to make NuGet believe it's pre-release package. Look at this: http://www.nuget.org/packages/EntityFramework/ - wherever version contains a suffix such as -beta1, -rc1 it denotes prerelease.

  2. 2 Posted by kimworking@gmai... on 28 Jan, 2015 05:50 PM

    kimworking@gmail.com's Avatar

    It is, but is this possible without creating a custom script renaming the
    NuGet package or creating a custom script calling nuget overriding the
    version? Basically it is possible to do this using appveyor configuration
    only?
    Den 27/01/2015 18.51 skrev "Feodor Fitsner" <
    [email blocked]>:

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Jan, 2015 05:56 PM

    Feodor Fitsner's Avatar

    Well, I'm not sure if that's possible. Whenever you upload a package to NuGet server it's getting unpacked and manifest examined. So, it's all about manifest inside the package.

  4. 4 Posted by kimworking@gmai... on 28 Jan, 2015 08:22 PM

    kimworking@gmail.com's Avatar

    Okay thanks for the reply
    Den 28/01/2015 18.56 skrev "Feodor Fitsner" <
    [email blocked]>:

  5. kimworking@gmail.com closed this discussion on 16 May, 2015 10:17 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

 

03 Oct, 2024 07:07 PM
01 Oct, 2024 05:06 PM
01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM