Skip to content

Commit 4e24837

Browse files
committed
Добавление номера сборки в метаданные semver для не-пререлизных версий
1 parent fbe8cdd commit 4e24837

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/oscommon.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<LangVersion>8.0</LangVersion>
1010
<TargetFrameworkVersion>net6.0</TargetFrameworkVersion>
1111
<NoWarn>$(NoWarn);CS1591</NoWarn>
12+
<IncludeSourceRevisionInInformationalVersion>False</IncludeSourceRevisionInInformationalVersion>
1213
</PropertyGroup>
1314

1415
<PropertyGroup>
@@ -24,6 +25,7 @@
2425
<VersionPrefix Condition="'$(VersionPrefix)' == ''">2.0.0</VersionPrefix>
2526
<FileVersion>$(VersionPrefix).$(BuildNumber)</FileVersion>
2627
<InformationalVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</InformationalVersion>
28+
<InformationalVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)+$(BuildNumber)</InformationalVersion>
2729
<Product>1C (BSL) language runtime</Product>
2830
<Copyright>Copyright (c) 2021 EvilBeaver</Copyright>
2931
</PropertyGroup>

0 commit comments

Comments
 (0)