Browse Source
Use '0000000' for build number formatting and "cibuild" because it's greater than "build"
pull/2269/head
Nikita Tsukanov
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
nukebuild/BuildParameters.cs
|
|
|
@ -109,7 +109,7 @@ public partial class Build |
|
|
|
if (!IsNuGetRelease) |
|
|
|
{ |
|
|
|
// Use AssemblyVersion with Build as version
|
|
|
|
Version += "-build" + Environment.GetEnvironmentVariable("BUILD_BUILDID") + "-beta"; |
|
|
|
Version += "-cibuild" + int.Parse(Environment.GetEnvironmentVariable("BUILD_BUILDID")).ToString("0000000") + "-beta"; |
|
|
|
} |
|
|
|
|
|
|
|
PublishTestResults = true; |
|
|
|
|