Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Commit fcc18e4

Browse files
committed
fix teamcity version logic
1 parent bf3333d commit fcc18e4

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

default.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ task Pack -depends Test {
7474
task SetVersion {
7575
$completeVersionNumber = Get-VersionNumber
7676

77-
if(![string]::IsNullOrEmpty($buildNumber))
77+
if(!$completeVersionNumber.EndsWith(".*"))
7878
{
7979
#running in TeamCity
8080
Write-Host "##teamcity[buildNumber '$completeVersionNumber']"
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)