Skip to content

Commit

Permalink
removed version data from Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnie-fialok committed Jul 5, 2024
1 parent 4a72b68 commit 227ee25
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>

<!--
- The major and minor versions should match the Roslyn API version,
- and the major/minor/build versions should match the NuGet package version (NuGet is x.y.z only)
- Revision should be incremented whenever you want to publish a new version.
-->
<ShortVersion Condition=" '$(TagVersion)' == '' ">3.7.2</ShortVersion>
<ShortVersion Condition=" '$(TagVersion)' != '' ">$(TagVersion.Split('-', 2)[0])</ShortVersion>
<VersionSuffix Condition=" '$(TagVersion)' != '' ">
$(TagVersion.Substring($(ShortVersion.Length)))</VersionSuffix>

<Version Condition=" '$(Version)' == '' and '$(GITHUB_RUN_NUMBER)' != ''">
$(ShortVersion).$(GITHUB_RUN_NUMBER)</Version>
<Version Condition=" '$(Version)' == '' and '$(GITHUB_RUN_NUMBER)' == ''">$(ShortVersion).0</Version>
</PropertyGroup>

<Import Project="..\build\Version.props" />
Expand Down

0 comments on commit 227ee25

Please sign in to comment.