File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,10 @@ function CreateNuGetPackage {
73
73
$versionSuffix = $suffixSegments -join " -"
74
74
}
75
75
else {
76
- # Get the version suffix from the auto-incrementing build number. Example: "123" => "pre -0123".
76
+ # Get the version suffix from the auto-incrementing build number. Example: "123" => "master -0123".
77
77
if ($env: APPVEYOR_BUILD_NUMBER ) {
78
78
$revision = " {0:D4}" -f [convert ]::ToInt32($env: APPVEYOR_BUILD_NUMBER , 10 )
79
- $versionSuffix = " pre -$revision "
79
+ $versionSuffix = " $ ( $ env: APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH ?? $ env: APPVEYOR_REPO_BRANCH ) -$revision "
80
80
}
81
81
else {
82
82
$versionSuffix = " pre-0001"
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <VersionPrefix >4.2 .0</VersionPrefix >
3
+ <VersionPrefix >5.0 .0</VersionPrefix >
4
4
<TargetFramework >$(NetCoreAppVersion)</TargetFramework >
5
5
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
6
6
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments