Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c308d52

Browse files
committed
appveyor: maint branches aren't prerelease
1 parent fac308c commit c308d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install:
4747
Write-Host $BuildDate -ForegroundColor "Green"
4848
4949
$VersionSuffix = ""
50-
If ($Env:APPVEYOR_REPO_BRANCH -ne "master")
50+
If ($Env:APPVEYOR_REPO_BRANCH -ne "master" -and ($Env:APPVEYOR_REPO_BRANCH -eq $null -or $Env:APPVEYOR_REPO_BRANCH.StartsWith("maint/")))
5151
{
5252
$VersionSuffix = "-pre$BuildDate"
5353
}

0 commit comments

Comments
 (0)