I'am currently to try to create a nuget package in a personnal feed. My build & integration works well, my package is push with a custom build number.
But I have a problem with prelease & release. I have two branches ( Dev & Master) and I want to set my generated nuget package from dev branch as @Prelease
As official documentation mentionned, I have -beta to my custom version but seems to the package is not set to prerelease.
Any idea ?
My Custom version number:
$(MajorVersion).$(MinorVersion).$(BuildID)-beta
EDIT :
I provide a one drive link with Restore, Build, Test, Nuget Pack & Nuget Push logs
EDIT 2:
Here my Nuget Pack configuration
Here my Nuget Push configuration
EDIT 3 :
I change my feed and still the issue.
Other strange thing. I'm not able with nuget CLI to add my package with this command after using nuget add sources
command.
nuget install Askmethat.Hobbidea.Commons
I have a 404 not found but if I use Visual Studio For Mac, It works... This is giving me crazy because I need to add a nuget.config for each project or class library.
nuget list [package name] -source [xxx] --PreRelease
. (Note, I check it on web, botth @prerelease and @release return 0 result) – starian chen-MSFT