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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -