зеркало из https://github.com/akkadotnet/Hyperion.git
add versionSuffix to nuget pack
This commit is contained in:
Родитель
13928a8463
Коммит
172c2c85a1
|
@ -141,12 +141,15 @@ Target "NBench" (fun _ ->
|
|||
//--------------------------------------------------------------------------------
|
||||
|
||||
Target "CreateNuget" (fun _ ->
|
||||
let versionSuffix = getBuildParamOrDefault "versionsuffix" ""
|
||||
|
||||
DotNetCli.Pack
|
||||
(fun p ->
|
||||
{ p with
|
||||
Project = "./Hyperion/Hyperion.csproj"
|
||||
Configuration = configuration
|
||||
AdditionalArgs = ["--include-symbols"]
|
||||
VersionSuffix = versionSuffix
|
||||
OutputPath = outputNuGet })
|
||||
)
|
||||
|
||||
|
@ -208,6 +211,8 @@ Target "HelpNuget" <| fun _ ->
|
|||
"Examples:"
|
||||
" build Nuget Build nuget packages to the build/nuget folder"
|
||||
""
|
||||
" build Nuget versionsuffix=beta1 Build nuget packages with the custom version suffix"
|
||||
""
|
||||
" build Nuget nugetkey=123 Build and publish to nuget.org and symbolsource.org"
|
||||
""
|
||||
" build Nuget nugetprerelease=dev nugetkey=123 nugetpublishurl=http://abcsymbolspublishurl=http://xyz"
|
||||
|
|
Загрузка…
Ссылка в новой задаче