Skip to content

Commit

Permalink
Append the -build.N suffix to CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir-Antipov committed Jun 1, 2024
1 parent 56dc7b9 commit f6f8e9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project>

<PropertyGroup Condition="!$(GITHUB_REF.StartsWith('refs/tags/'))">
<Version Condition="'$(GITHUB_RUN_NUMBER)' != ''">$(Version)-build.$(GITHUB_RUN_NUMBER)</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
Expand Down

0 comments on commit f6f8e9a

Please sign in to comment.