Nuget pack AND push within same batch script -
i'm having heck of time writing batch script both pack , push resulting .nupkg file private nuget feed. can call pack fine, don't know how parse name of nupkg out of resulting output in order push. unfortunately, version number auto-increments time, can't make assumption of resulting file named.
fwiw, i'm using myget.org private hosting, applied host (including nuget.org).
nuget push supports wildcards, this:
rem delete existing nuget packages del *.nupkg nuget pack myproject.csproj nuget push *.nupkg
Comments
Post a Comment