File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 11<Project ToolsVersion =" 15.0" >
22
33 <PropertyGroup >
4- <Version Condition =" '$(Version)' == '' " >0.37 .0$(VersionSuffix)</Version >
4+ <Version Condition =" '$(Version)' == '' " >0.38 .0$(VersionSuffix)</Version >
55 </PropertyGroup >
66
77 <PropertyGroup >
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ before_build:
77 $versionSuffixPR = "-PR$($env:APPVEYOR_PULL_REQUEST_NUMBER)-$buildId";
88 $branchName = "$env:APPVEYOR_REPO_BRANCH".Replace("_","");
99 $versionSuffixBRANCH = "-$branchName-$buildId";
10+ $env:Version = if ("$env:APPVEYOR_REPO_TAG" -eq "true") { "$env:APPVEYOR_REPO_TAG_NAME".trimstart("v") } else { "" }
1011 $env:VersionSuffix = if ("$env:APPVEYOR_REPO_TAG" -eq "true") { "" } else { if ("$env:APPVEYOR_PULL_REQUEST_NUMBER") { $versionSuffixPR } else { $versionSuffixBRANCH } };
1112
1213build_script :
You can’t perform that action at this time.
0 commit comments