Skip to content

Commit

Permalink
v1.1 -> v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wallymathieu committed Oct 19, 2020
1 parent 28decee commit 312aa25
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" -eq "v1.1") { "CI$buildId" } else { "$branchName-CI$buildId" };
$versionSuffixBRANCH = if ("$env:APPVEYOR_REPO_BRANCH" -eq "v1.2") { "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 312aa25

Please sign in to comment.