Skip to content

Commit

Permalink
feat: To ConventionalCommitsGitInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Apr 7, 2023
1 parent d2ec59e commit 0424ae4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ jobs:
build-test-publish:
name: Build, test and publish
uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main
with:
generate-build-number: false
conventional-commits-publish-conditions: false
secrets:
nuget-key: ${{ secrets.NUGET_KEY }}
7 changes: 4 additions & 3 deletions src/libs/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
</ItemGroup>

<PropertyGroup Label="Nuget">
<BUILD_NUMBER Condition="'$(BUILD_NUMBER)' == ''">1</BUILD_NUMBER>
<Version>1.$(BUILD_NUMBER)</Version>
<PackageReleaseNotes>$(PACKAGE_RELEASE_NOTES)</PackageReleaseNotes>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Authors>havendv</Authors>
Expand All @@ -28,6 +25,10 @@
<ItemGroup Label="Nuget">
<None Include="$(SolutionDir)assets\nuget_icon.png" Pack="true" PackagePath="\" Visible="false"/>
<None Include="$(SolutionDir)README.md" Pack="true" PackagePath="\" Visible="false"/>
<PackageReference Include="ConventionalCommitsGitInfo" Version="0.3.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Label="Source Link">
Expand Down

0 comments on commit 0424ae4

Please sign in to comment.