зеркало из https://github.com/akkadotnet/Hyperion.git
made it easier to generate beta packages of Hyperion locally (#103)
This commit is contained in:
Родитель
f5e5331764
Коммит
0988ceaa8e
|
@ -16,7 +16,7 @@ let configuration = "Release"
|
|||
// Read release notes and version
|
||||
let solutionFile = FindFirstMatchingFile "*.sln" __SOURCE_DIRECTORY__ // dynamically look up the solution
|
||||
let buildNumber = environVarOrDefault "BUILD_NUMBER" "0"
|
||||
let preReleaseVersionSuffix = (if (not (buildNumber = "0")) then (buildNumber) else "") + "-beta"
|
||||
let preReleaseVersionSuffix = "beta" + (if (not (buildNumber = "0")) then (buildNumber) else DateTime.UtcNow.Ticks.ToString())
|
||||
let versionSuffix =
|
||||
match (getBuildParam "nugetprerelease") with
|
||||
| "dev" -> preReleaseVersionSuffix
|
||||
|
|
Загрузка…
Ссылка в новой задаче