Fix <PackageVersion> not being set for release branches
このコミットが含まれているのは:
1 親
0d936b2cd8
コミット
e386d29640
1ファイル変更
+8
-8
@@ -15,9 +15,14 @@
|
||||
of dotnet build for some cases, due to the solution having some UWP and WinUI 3 projects, and non SDK-style too).
|
||||
The lines setting the prefix have been omitted, as that is already handled in the root .props file.
|
||||
-->
|
||||
<PropertyGroup Condition=" '$(Version)' == '' ">
|
||||
<Version Condition=" '$(VersionSuffix)' != '' ">$(VersionPrefix)-$(VersionSuffix)</Version>
|
||||
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)</Version>
|
||||
<PropertyGroup Condition="'$(Version)' == ''">
|
||||
<Version Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</Version>
|
||||
<Version Condition="'$(Version)' == ''">$(VersionPrefix)</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Set the base package version (this applies to all build types) -->
|
||||
<PropertyGroup>
|
||||
<PackageVersion>$(Version)</PackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Settings that are only set for CI builds -->
|
||||
@@ -25,9 +30,4 @@
|
||||
<PackageVersion Condition="'$(EXCLUDE_RUN_ID_FROM_PACKAGE)' != 'true' AND '$(IsCommitOnReleaseBranch)' != true">$(Version).$(GITHUB_RUN_ID)</PackageVersion>
|
||||
<PackageVersion Condition="'$(GITHUB_SHA)' != ''">$(PackageVersion)+$(GITHUB_SHA)</PackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Settings that are only set for non CI builds -->
|
||||
<PropertyGroup Condition="'$(GITHUB_RUN_ID)' == ''">
|
||||
<PackageVersion>$(Version)</PackageVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
新しいイシューから参照
ユーザーをブロックする