Skip to content

Commit

Permalink
Build release on v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wallymathieu committed Oct 7, 2020
1 parent f1dd39d commit f1c2b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ before_build:
$buildId = $env:APPVEYOR_BUILD_NUMBER.PadLeft(5, '0');
$versionSuffixPR = "PR$($env:APPVEYOR_PULL_REQUEST_NUMBER)-$buildId";
$branchName = "$env:APPVEYOR_REPO_BRANCH".Replace("_","").Replace("/","-");
$versionSuffixBRANCH = if ("$env:APPVEYOR_REPO_BRANCH".StartsWith("v1.")) { "CI$buildId" } else { "$branchName-CI$buildId" };
$versionSuffixBRANCH = if ("$env:APPVEYOR_REPO_BRANCH" -eq "v1.1") { "CI$buildId" } else { "$branchName-CI$buildId" };
$env:VersionSuffix = if ("$env:APPVEYOR_REPO_TAG" -eq "true") { "" } else { if ("$env:APPVEYOR_PULL_REQUEST_NUMBER") { $versionSuffixPR } else { $versionSuffixBRANCH } };
init:
Expand Down

0 comments on commit f1c2b4e

Please sign in to comment.